This commit is contained in:
Paminger
2016-04-27 18:00:16 +02:00
parent 782c86d1a3
commit 69e0a7c16f
+1 -4
View File
@@ -50,10 +50,7 @@ echo "Starting..."
cwd=$(pwd)
echo "Database ..."
pkill -f fhctest &
if sudo -u postgres psql template1 -c 'DROP DATABASE IF EXISTS fhctest;'
then
echo "Database fhctest dropped!"
fi
sudo -u postgres psql template1 -c 'DROP DATABASE IF EXISTS fhctest;' | echo "Database fhctest dropped!"
sudo -u postgres createdb -O fhcomplete fhctest
echo "Installing FH-Complete..."