From 507a340e9a5baabe04dd096c4b8f476cd1d73ef3 Mon Sep 17 00:00:00 2001 From: Darren <27513732@qq.com> Date: Sat, 7 Oct 2023 17:10:33 +0800 Subject: [PATCH] fix --- README.md | 12 +++++++++++- install/install_cockpit.sh | 1 + install/uninstall.sh | 2 +- version.json | 2 +- 4 files changed, 14 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 83f790b9..94946780 100644 --- a/README.md +++ b/README.md @@ -44,10 +44,20 @@ curl https://websoft9.github.io/websoft9/install/install.sh | bash # Install Websoft9 special version by development artifact and install path at /data/websoft9/source ... -wget https://websoft9.github.io/websoft9/install/install.sh && bash install.sh --port 9000 --channel dev --path "/data/websoft9/source" --version "0.8.25" +wget -O - https://websoft9.github.io/websoft9/install/install.sh | bash /dev/stdin --port 9000 --channel dev --path "/data/websoft9/source" --version "0.8.25" ``` After installation, access it by: **http://Internet IP:9000** and using **Linux user** for login +# Uninstall + +``` +# Uninstall by default +curl https://websoft9.github.io/websoft9/install/uninstall.sh | bash + +# Uninstall all +wget -O - https://websoft9.github.io/websoft9/install/uninstall.sh | bash /dev/stdin --cockpit --files +``` + # Contributing Follow the [contributing guidelines](CONTRIBUTING.md) if you want to propose a change in the Websoft9 core. For more information about participating in the community and contributing to the Websoft9 project, see [this page](https://support.websoft9.com/docs/community/contributing). diff --git a/install/install_cockpit.sh b/install/install_cockpit.sh index e4dbf08e..458204a2 100644 --- a/install/install_cockpit.sh +++ b/install/install_cockpit.sh @@ -257,6 +257,7 @@ Edit_Menu(){ if [ $? -ne 0 ]; then echo "Failed to download cockpit.conf" exit 1 + fi fi if test -d "$install_path/cockpit/menu_override"; then diff --git a/install/uninstall.sh b/install/uninstall.sh index d67e13ad..cc486d2e 100644 --- a/install/uninstall.sh +++ b/install/uninstall.sh @@ -16,7 +16,7 @@ export PATH # --files # Use the --files option remove files have installed: # -# $ sudo sh install.sh --cockpit +# $ sudo sh install.sh --files # # # ============================================================================== diff --git a/version.json b/version.json index f6996be9..5bb77020 100644 --- a/version.json +++ b/version.json @@ -1,5 +1,5 @@ { - "version": "0.8.26-rc1", + "version": "0.8.26-rc2", "plugins": { "portainer": "0.0.6", "nginx": "0.0.5",