mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-30 19:08:10 -05: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
|