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

10 lines
191 B
Bash
Raw Normal View History

2013-10-14 12:09:29 -04:00
#!/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