Update update-web-panel.sh

This commit is contained in:
Bozhidar Slaveykov 2024-04-07 01:35:50 +03:00
parent be64ad22f2
commit 2c03ede8a5

View file

@ -2,7 +2,7 @@ rm -rf /usr/local/phyre/update/web-panel-latest
wget https://github.com/CloudVisionApps/PhyrePanelWebDist/raw/main/phyre-web-panel.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 unzip phyre-web-panel.zip -d /usr/local/phyre/update/web-panel-latest
rsync -av /usr/local/phyre/update/web-panel-latest/ /usr/local/phyre/web/ rsync -r /usr/local/phyre/update/web-panel-latest/ /usr/local/phyre/web/
rm -rf /usr/local/phyre/update/web-panel-latest rm -rf /usr/local/phyre/update/web-panel-latest
service phyre restart service phyre restart