summaryrefslogtreecommitdiff
path: root/localserver/updateconfigs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'localserver/updateconfigs.sh')
-rwxr-xr-xlocalserver/updateconfigs.sh6
1 files changed, 6 insertions, 0 deletions
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