mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-10 08:38:28 +00:00
chg: [Update v2.4] cp config
This commit is contained in:
parent
71718fb69f
commit
712de0d88a
3 changed files with 8 additions and 0 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -36,6 +36,8 @@ var/www/server.key
|
|||
|
||||
# Local config
|
||||
configs/keys
|
||||
bin/packages/core.cfg
|
||||
bin/packages/config.cfg.backup
|
||||
configs/core.cfg
|
||||
configs/core.cfg.backup
|
||||
configs/update.cfg
|
||||
|
|
|
@ -53,3 +53,6 @@ if __name__ == "__main__":
|
|||
r_serv.delete('ail:current_background_script')
|
||||
r_serv.delete('ail:current_background_script_stat')
|
||||
r_serv.delete('ail:current_background_update')
|
||||
|
||||
if r_serv.scard('ail:update_v2.4') != 1:
|
||||
pass
|
||||
|
|
|
@ -23,6 +23,9 @@ bash ${AIL_BIN}/LAUNCH.sh -lav &
|
|||
wait
|
||||
echo ""
|
||||
|
||||
cp ${AIL_BIN}/packages/config.cfg ${AIL_HOME}/configs/core.cfg
|
||||
rm ${AIL_BIN}/packages/config.cfg
|
||||
|
||||
echo ""
|
||||
echo -e $GREEN"Updating AIL VERSION ..."$DEFAULT
|
||||
echo ""
|
||||
|
|
Loading…
Reference in a new issue