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
4dbbd4b736
commit
405fe97358
@ -86,6 +86,9 @@ FUNCTIONS=(
|
|||||||
# update admin from github
|
# update admin from github
|
||||||
download_new_admin
|
download_new_admin
|
||||||
|
|
||||||
|
# only for 0.3.5!!!!!!!!!!!!!!!!!!!
|
||||||
|
install_pip_pack
|
||||||
|
|
||||||
# update opencli
|
# update opencli
|
||||||
opencli_update
|
opencli_update
|
||||||
|
|
||||||
@ -148,12 +151,14 @@ print_space_and_line() {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
install_pip_pack() {
|
||||||
|
# TEMPORAY FOR 0.3.5
|
||||||
|
echo "Installing flask_limiter.."
|
||||||
|
pip3 install --force-reinstall flask_limiter || pip3 install --force-reinstall flask_limiter --break-system-packages
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
restart_admin_panel_if_needed() {
|
restart_admin_panel_if_needed() {
|
||||||
# TEMPORAY FOR 0.3.5
|
|
||||||
pip3 install --force-reinstall flask_limiter || pip3 install --force-reinstall flask_limiter --break-system-packages
|
|
||||||
echo "Restarting OpenAdmin service.."
|
echo "Restarting OpenAdmin service.."
|
||||||
service admin restart
|
service admin restart
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user