Update update-web-panel.sh

This commit is contained in:
Bozhidar Slaveykov 2024-04-07 14:13:42 +03:00
parent 3f2830ad2e
commit 85482fbba5

View file

@ -2,6 +2,7 @@ rm -rf /usr/local/phyre/update/web-panel-latest
rm -rf /usr/local/phyre/update/phyre-web-panel.zip
wget https://github.com/CloudVisionApps/PhyrePanelWebDist/raw/main/phyre-web-panel.zip
ls -la
unzip -o phyre-web-panel.zip -d /usr/local/phyre/update/web-panel-latest
rm -rf /usr/local/phyre/web/vendor
@ -30,7 +31,6 @@ cp -r /usr/local/phyre/update/web-panel-latest/lang /usr/local/phyre/web/lang
cp -r /usr/local/phyre/update/web-panel-latest/Modules /usr/local/phyre/web/Modules
cp -r /usr/local/phyre/update/web-panel-latest/thirdparty /usr/local/phyre/web/thirdparty
chmod +x /usr/local/phyre/web/db-migrate.sh
/usr/local/phyre/web/db-migrate.sh