forked from nalc/nalc-server
Fix clean reinstall of postgresql world and players
This commit is contained in:
parent
647b4db86f
commit
e95b648764
|
@ -210,9 +210,9 @@ install_world() {
|
||||||
|
|
||||||
if [[ -n $pg_dbname ]]; then
|
if [[ -n $pg_dbname ]]; then
|
||||||
dropdb $pg_dbname
|
dropdb $pg_dbname
|
||||||
verif
|
sleep 2
|
||||||
dropdb players-$pg_dbname
|
dropdb players-$pg_dbname
|
||||||
verif
|
sleep 2
|
||||||
createdb $pg_dbname
|
createdb $pg_dbname
|
||||||
createdb players-$pg_dbname
|
createdb players-$pg_dbname
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user