mirror of
https://github.com/discourse/discourse.git
synced 2024-12-15 02:33:42 +08:00
10 lines
190 B
Bash
10 lines
190 B
Bash
|
#!/bin/bash
|
||
|
FILE=/tmp/import_dev_done
|
||
|
|
||
|
if [ -f $FILE ]
|
||
|
then
|
||
|
echo "File $FILE exists..."
|
||
|
else
|
||
|
psql $POSTGRESQL_DATABASE < /tmp/images/development-image.sql
|
||
|
touch /tmp/import_dev_done
|
||
|
fi
|