diff --git a/docker-compose/setup-script/noco.sh b/docker-compose/setup-script/noco.sh index df0111018d..7513b91f8a 100755 --- a/docker-compose/setup-script/noco.sh +++ b/docker-compose/setup-script/noco.sh @@ -531,36 +531,18 @@ EOF fi IS_DOCKER_REQUIRE_SUDO=$(check_for_docker_sudo) +DOCKER_COMMAND=([ "$IS_DOCKER_REQUIRE_SUDO" = "y" ] && echo "sudo docker" || echo "docker") - -# Generate the update.sh file for upgrading images -if [ "$IS_DOCKER_REQUIRE_SUDO" = "y" ]; then - cat > ./update.sh < ./update.sh < ./update.sh <