Bump base image (#538)
[discourse_docker.git] / image / discourse_dev / ensure-database
... / ...
CommitLineData
1#!/bin/bash
2
3if [ ! -f /shared/postgres_data/PG_VERSION ]; then
4 mkdir -p /shared/postgres_data
5 chown -R postgres:postgres /shared/postgres_data
6 chmod 700 /shared/postgres_data
7 cp -R /shared/postgres_data_orig/* /shared/postgres_data
8 chown -R postgres:postgres /shared/postgres_data
9 chmod 700 /shared/postgres_data
10fi