diff options
Diffstat (limited to 'localserver')
-rwxr-xr-x | localserver/initdb.sh | 2 | ||||
-rwxr-xr-x | localserver/installconfigs.sh | 1 | ||||
-rwxr-xr-x | localserver/updatedb.sh | 8 |
3 files changed, 7 insertions, 4 deletions
diff --git a/localserver/initdb.sh b/localserver/initdb.sh index 7b106f7..d7625e3 100755 --- a/localserver/initdb.sh +++ b/localserver/initdb.sh @@ -22,5 +22,5 @@ $CMD <logs.sql if [[ -z "${VER}" ]]; then mkdir ${DIR}/versions - echo "5" >${DIR}/versions/sqlver + echo "6" >${DIR}/versions/sqlver fi diff --git a/localserver/installconfigs.sh b/localserver/installconfigs.sh index 5d68a03..4e08c8f 100755 --- a/localserver/installconfigs.sh +++ b/localserver/installconfigs.sh @@ -6,7 +6,6 @@ export NPC="$SD/npc" mkdir $CONF cp conf/* $CONF -cp -f conf/inter_conf.txt $CONF cp -f ${SD}/conf/channels.conf.base ${SD}/conf/channels.conf cp -f npc/motd-* ${NPC}/commands/ mkdir versions diff --git a/localserver/updatedb.sh b/localserver/updatedb.sh index 2041460..e96e5c3 100755 --- a/localserver/updatedb.sh +++ b/localserver/updatedb.sh @@ -33,6 +33,10 @@ if [ "${VER}" -lt "5" ]; then run "2016-07-08--02-51.sql" fi -if [ "${VER}" -lt "5" ]; then - echo "5" >versions/sqlver +if [ "${VER}" -lt "6" ]; then + run "2016-10-03--20-27.sql" +fi + +if [ "${VER}" -lt "6" ]; then + echo "6" >versions/sqlver fi |