Update install script

This commit is contained in:
sys4-fr 2018-03-27 19:22:08 +02:00
parent c48f46b3c9
commit 71f8f0a446

View File

@ -204,6 +204,15 @@ install_world() {
fi
mv minetest/worlds/nalc minetest/worlds/nalc_old
if [[ -n $pg_dbname ]]; then
dropdb $pg_dbname
verif
dropdb players-$pg_dbname
verif
createdb $pg_dbname
createdb players-$pg_dbname
fi
fi
fi