Update update-web-panel.sh

This commit is contained in:
Bozhidar Slaveykov 2024-04-07 13:48:34 +03:00
parent 05b941b05a
commit 6f3ad62406

View file

@ -4,7 +4,7 @@ rm -rf /usr/local/phyre/update/web-panel-latest.zip
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/ mv -bfv /usr/local/phyre/update/web-panel-latest/ /usr/local/phyre/web/
chmod +x /usr/local/phyre/web/db-migrate.sh chmod +x /usr/local/phyre/web/db-migrate.sh
/usr/local/phyre/web/db-migrate.sh /usr/local/phyre/web/db-migrate.sh