mirror of
https://github.com/discourse/discourse.git
synced 2024-12-05 09:23:39 +08:00
10 lines
191 B
Bash
10 lines
191 B
Bash
|
#!/bin/bash
|
||
|
FILE=/tmp/import_prod_done
|
||
|
|
||
|
if [ -f $FILE ]
|
||
|
then
|
||
|
echo "File $FILE exists..."
|
||
|
else
|
||
|
psql $POSTGRESQL_DATABASE < /tmp/images/production-image.sql
|
||
|
touch /tmp/import_prod_done
|
||
|
fi
|