diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-08-20 20:30:58 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-08-20 20:30:58 +0300 |
commit | d16574cc355da13cbb086b955de28165129ee87a (patch) | |
tree | c5d2eb21cc3a29cc8729fd0b150ccdfe29181145 /localserver/updateconfigs.sh | |
parent | f44f808f0bb6ea87c089bb2582916d305a4b372a (diff) | |
download | evol-tools-d16574cc355da13cbb086b955de28165129ee87a.tar.gz evol-tools-d16574cc355da13cbb086b955de28165129ee87a.tar.bz2 evol-tools-d16574cc355da13cbb086b955de28165129ee87a.tar.xz evol-tools-d16574cc355da13cbb086b955de28165129ee87a.zip |
localserver: add new configurations. and change config version to 2.
Diffstat (limited to 'localserver/updateconfigs.sh')
-rwxr-xr-x | localserver/updateconfigs.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/localserver/updateconfigs.sh b/localserver/updateconfigs.sh index a6f8a73..29e063d 100755 --- a/localserver/updateconfigs.sh +++ b/localserver/updateconfigs.sh @@ -11,5 +11,9 @@ fi if [ "${VER}" -lt "1" ]; then cp -f ${CONFDIR}/conf/channels.conf ${CONFDIR}/conf/channels.conf.bak cp -f ${CONFDIR}/conf/channels.conf.base ${CONFDIR}/conf/channels.conf - echo "1" >versions/confver fi + +if [ "${VER}" -lt "2" ]; then + cp conf/* ${CONFDIR}/conf/import + echo "2" >versions/confver +fi
\ No newline at end of file |