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
1014dad18d
commit
7b66a7a8fc
@ -240,7 +240,7 @@ run_custom_postupdate_script() {
|
||||
|
||||
|
||||
download_new_admin() {
|
||||
|
||||
cp -r ${OPENADMIN_DIR}tempaltes/dashboard/ ${TEMP_DIR}dashboard/
|
||||
mkdir -p $OPENADMIN_DIR
|
||||
echo "Updating OpenAdmin from https://github.com/stefanpejcic/openadmin"
|
||||
echo ""
|
||||
@ -252,6 +252,7 @@ download_new_admin() {
|
||||
chmod +x ${OPENADMIN_DIR}modules/security/csf.pl
|
||||
|
||||
cd $OPENADMIN_DIR
|
||||
cp -r ${TEMP_DIR}dashboard/ ${OPENADMIN_DIR}tempaltes/dashboard/
|
||||
# for 0.3.1 only!
|
||||
pip3 install --force-reinstall zope.event || pip3 install --force-reinstall zope.event --break-system-packages
|
||||
pip3 install --force-reinstall flask_caching || pip3 install --force-reinstall flask_caching --break-system-packages
|
||||
|
Loading…
Reference in New Issue
Block a user