discourse/config/cloud/cloud66/scripts/import_prod.sh
Marcus Rückert fb25985b91 Mark all files with a shebang line as executable
This is a bit weird with the Rakefiles but makes
it consistent. Found with rpmlint.
2015-05-12 13:21:32 +02:00

10 lines
191 B
Bash
Executable File

#!/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