From 41feefb37a8ce385729fe55234ff98a7a424b6e9 Mon Sep 17 00:00:00 2001 From: Rohit T P Date: Wed, 17 Apr 2024 11:59:21 +0000 Subject: [PATCH] feat: generate help.sh to manage installed nocobd --- docker-compose/setup-script/noco.sh | 103 +++++++++++++++++++++++++++- 1 file changed, 102 insertions(+), 1 deletion(-) diff --git a/docker-compose/setup-script/noco.sh b/docker-compose/setup-script/noco.sh index 7513b91f8a..adb34f51b8 100755 --- a/docker-compose/setup-script/noco.sh +++ b/docker-compose/setup-script/noco.sh @@ -531,7 +531,108 @@ EOF fi IS_DOCKER_REQUIRE_SUDO=$(check_for_docker_sudo) -DOCKER_COMMAND=([ "$IS_DOCKER_REQUIRE_SUDO" = "y" ] && echo "sudo docker" || echo "docker") +DOCKER_COMMAND=$([ "$IS_DOCKER_REQUIRE_SUDO" = "y" ] && echo "sudo docker" || echo "docker") + +# Generate help script +cat > ./help.sh < ./update.sh <