mirror of
https://github.com/discourse/discourse.git
synced 2024-12-15 09:33:44 +08:00
fb25985b91
This is a bit weird with the Rakefiles but makes it consistent. Found with rpmlint.
11 lines
190 B
Bash
Executable File
11 lines
190 B
Bash
Executable File
#!/bin/bash
|
|
FILE=/tmp/drop_create_done
|
|
|
|
if [ -f $FILE ]
|
|
then
|
|
echo "File $FILE exists..."
|
|
else
|
|
cd $RAILS_STACK_PATH
|
|
bundle exec rake db:drop db:create
|
|
touch /tmp/drop_create_done
|
|
fi |