diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-12-05 23:07:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-12-05 23:07:18 +0300 |
commit | 5220e94daf9c0d83724888ba37d7ca003874089d (patch) | |
tree | 3de582a8dcc9c94c09f6f606f0bf0e9a1dc7ee37 | |
parent | a1fbc952eb45338df09f1040db4f3d2b44beadca (diff) | |
download | evol-tools-s20190123.tar.gz evol-tools-s20190123.tar.bz2 evol-tools-s20190123.tar.xz evol-tools-s20190123.zip |
Change configuration version to 5.s20190123
Update channels.conf
-rwxr-xr-x | localserver/installconfigs.sh | 2 | ||||
-rwxr-xr-x | localserver/updateconfigs.sh | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/localserver/installconfigs.sh b/localserver/installconfigs.sh index 095c074..398c02a 100755 --- a/localserver/installconfigs.sh +++ b/localserver/installconfigs.sh @@ -9,4 +9,4 @@ cp conf/* $CONF cp -f ${SD}/conf/channels.conf.base ${SD}/conf/channels.conf cp -f npc/motd-* ${NPC}/commands/ mkdir versions -echo "4" >versions/confver +echo "5" >versions/confver diff --git a/localserver/updateconfigs.sh b/localserver/updateconfigs.sh index dc804b8..8c2688c 100755 --- a/localserver/updateconfigs.sh +++ b/localserver/updateconfigs.sh @@ -28,3 +28,9 @@ if [ "${VER}" -lt "4" ]; then cp -f npc/motd-* ${CONFDIR}/npc/commands/ echo "4" >versions/confver fi + +if [ "${VER}" -lt "5" ]; then + cp -f ${CONFDIR}/conf/channels.conf ${CONFDIR}/conf/channels.conf.bak + cp -f ${CONFDIR}/conf/channels.conf.base ${CONFDIR}/conf/channels.conf + echo "5" >versions/confver +fi |