discourse/config/cloud/cloud66/scripts/import_dev.sh

10 lines
190 B
Bash
Raw Normal View History

2013-10-15 00:09:29 +08:00
#!/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