Update update-web-panel.sh

This commit is contained in:
Bozhidar Slaveykov 2024-04-07 13:45:39 +03:00
parent 33c3f39f5a
commit 05b941b05a

View file

@ -1,9 +1,10 @@
rm -rf /usr/local/phyre/update/web-panel-latest
rm -rf /usr/local/phyre/update/web-panel-latest.zip
wget https://github.com/CloudVisionApps/PhyrePanelWebDist/raw/main/phyre-web-panel.zip
unzip phyre-web-panel.zip -d /usr/local/phyre/update/web-panel-latest
mv -bfv /usr/local/phyre/update/web-panel-latest/* /usr/local/phyre/web/
rm -rf /usr/local/phyre/update/web-panel-latest
rsync -av /usr/local/phyre/update/web-panel-latest/ /usr/local/phyre/web/
chmod +x /usr/local/phyre/web/db-migrate.sh
/usr/local/phyre/web/db-migrate.sh