mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update UPDATE.sh
This commit is contained in:
parent
4690b228d4
commit
773b97a8bc
@ -116,6 +116,9 @@ FUNCTIONS=(
|
|||||||
# show to user what was done and how to restore previous version if needed!
|
# show to user what was done and how to restore previous version if needed!
|
||||||
post_install_message
|
post_install_message
|
||||||
|
|
||||||
|
# must be at the end, otherwise breaks install process from gui
|
||||||
|
service admin restart
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
TOTAL_STEPS=${#FUNCTIONS[@]}
|
TOTAL_STEPS=${#FUNCTIONS[@]}
|
||||||
@ -286,8 +289,6 @@ download_new_admin() {
|
|||||||
|
|
||||||
mv /etc/openpanel/openadmin/config/terms /etc/openpanel/openadmin/config/terms_accepted_on_update
|
mv /etc/openpanel/openadmin/config/terms /etc/openpanel/openadmin/config/terms_accepted_on_update
|
||||||
|
|
||||||
service admin restart
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user