From 277776a13712b5526f8d69b185d59d91e0a5aa21 Mon Sep 17 00:00:00 2001 From: Bozhidar Slaveykov Date: Sat, 6 Apr 2024 23:22:05 +0300 Subject: [PATCH] update --- installers/Ubuntu/22.04/install.sh | 4 ++++ update/update-web-panel.sh | 5 +++++ web/update.sh | 0 3 files changed, 9 insertions(+) create mode 100644 update/update-web-panel.sh delete mode 100644 web/update.sh diff --git a/installers/Ubuntu/22.04/install.sh b/installers/Ubuntu/22.04/install.sh index 98627dc..91d122b 100644 --- a/installers/Ubuntu/22.04/install.sh +++ b/installers/Ubuntu/22.04/install.sh @@ -148,6 +148,10 @@ mkdir -p /usr/local/phyre/bin cp -r $MAIN_DIR/bin/* /usr/local/phyre/bin cp -r $MAIN_DIR/samples/* /usr/local/phyre/samples +mkdir -p /usr/local/phyre/update +cp -r $MAIN_DIR/update/* /usr/local/phyre/update +chmod +x /usr/local/phyre/update/* + # Install Composer cd /usr/local/phyre/web diff --git a/update/update-web-panel.sh b/update/update-web-panel.sh new file mode 100644 index 0000000..49c2d9b --- /dev/null +++ b/update/update-web-panel.sh @@ -0,0 +1,5 @@ +wget https://github.com/CloudVisionApps/PhyrePanelDist/raw/main/phyre-web-panel.zip +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/ +rm -rf /usr/local/phyre/update/web-panel-latest diff --git a/web/update.sh b/web/update.sh deleted file mode 100644 index e69de29..0000000