mirror of
https://github.com/discourse/discourse.git
synced 2024-12-17 17:53:43 +08:00
fb25985b91
This is a bit weird with the Rakefiles but makes it consistent. Found with rpmlint.
10 lines
191 B
Bash
Executable File
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 |