From 8ef2d1301500a90e0b92c95dff1c1259f3eb849d Mon Sep 17 00:00:00 2001 From: Timo Smit Date: Tue, 13 Feb 2018 09:39:35 +0100 Subject: [PATCH] Fixed consistency in deploy script (refs #73) --- deploy.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deploy.sh b/deploy.sh index df8a8c6..3b09f61 100644 --- a/deploy.sh +++ b/deploy.sh @@ -114,7 +114,7 @@ install_pk3() { install_db() { echo -n 'initializing database...'; - sqlite3 $fs_homepath/$fs_homedir/$fs_game/wolfadmin.db < database/new/sqlite3.sql; + sqlite3 $fs_homepath/$fs_homedir/$fs_game/wolfadmin.db < database/new/sqlite.sql; echo 'done.' } @@ -166,10 +166,10 @@ update() { if [ ! -x "$(command -v sqlite3)" ]; then echo 'sqlite3 executable does not exist, cannot update database' elif [[ ! -e $fs_homepath/$fs_homedir/$fs_game/wolfadmin.db ]]; then - echo 'wolfadmin.db does not exist, cannot create tables' + echo 'wolfadmin.db does not exist, cannot update database' else echo -n 'updating database...' - sqlite3 $fs_homepath/$fs_homedir/$fs_game/wolfadmin.db < database/update/$prev_version/sqlite3.sql + sqlite3 $fs_homepath/$fs_homedir/$fs_game/wolfadmin.db < database/update/$prev_version/sqlite.sql echo 'done.' fi