diff --git a/tools/addon/arcane.sh b/tools/addon/arcane.sh index 1b880b080..8faf16106 100644 --- a/tools/addon/arcane.sh +++ b/tools/addon/arcane.sh @@ -87,11 +87,11 @@ function update() { function check_docker() { if ! command -v docker &>/dev/null; then msg_error "Docker is not installed. This script requires an existing Docker LXC. Exiting." - exit 1 + exit 10 fi if ! docker compose version &>/dev/null; then msg_error "Docker Compose plugin is not available. Please install it before running this script. Exiting." - exit 1 + exit 10 fi msg_ok "Docker $(docker --version | cut -d' ' -f3 | tr -d ',') and Docker Compose are available" } @@ -171,7 +171,7 @@ if [[ "${type:-}" == "update" ]]; then update else msg_error "${APP} is not installed. Nothing to update." - exit 1 + exit 233 fi exit 0 fi diff --git a/tools/addon/coolify.sh b/tools/addon/coolify.sh index f85a27a51..258260ee6 100644 --- a/tools/addon/coolify.sh +++ b/tools/addon/coolify.sh @@ -93,7 +93,7 @@ function check_or_install_docker() { msg_ok "Docker Compose is available" else msg_error "Docker Compose plugin is not available. Please install it." - exit 1 + exit 10 fi return fi @@ -103,7 +103,7 @@ function check_or_install_docker() { read -r install_docker_prompt if [[ ! "${install_docker_prompt,,}" =~ ^(y|yes)$ ]]; then msg_error "Docker is required for ${APP}. Exiting." - exit 1 + exit 10 fi msg_info "Installing Docker" @@ -165,7 +165,7 @@ if [[ "${type:-}" == "update" ]]; then update else msg_error "${APP} is not installed. Nothing to update." - exit 1 + exit 233 fi exit 0 fi diff --git a/tools/addon/dockge.sh b/tools/addon/dockge.sh index c961b136b..0341273c0 100644 --- a/tools/addon/dockge.sh +++ b/tools/addon/dockge.sh @@ -99,7 +99,7 @@ function check_or_install_docker() { msg_ok "Docker Compose is available" else msg_error "Docker Compose plugin is not available. Please install it." - exit 1 + exit 10 fi return fi @@ -109,7 +109,7 @@ function check_or_install_docker() { read -r install_docker_prompt if [[ ! "${install_docker_prompt,,}" =~ ^(y|yes)$ ]]; then msg_error "Docker is required for ${APP}. Exiting." - exit 1 + exit 10 fi msg_info "Installing Docker" @@ -160,7 +160,7 @@ if [[ "${type:-}" == "update" ]]; then update else msg_error "${APP} is not installed. Nothing to update." - exit 1 + exit 233 fi exit 0 fi diff --git a/tools/addon/dokploy.sh b/tools/addon/dokploy.sh index c4d7263ff..6538ad1f7 100644 --- a/tools/addon/dokploy.sh +++ b/tools/addon/dokploy.sh @@ -92,7 +92,7 @@ function check_or_install_docker() { msg_ok "Docker Compose is available" else msg_error "Docker Compose plugin is not available. Please install it." - exit 1 + exit 10 fi return fi @@ -102,7 +102,7 @@ function check_or_install_docker() { read -r install_docker_prompt if [[ ! "${install_docker_prompt,,}" =~ ^(y|yes)$ ]]; then msg_error "Docker is required for ${APP}. Exiting." - exit 1 + exit 10 fi msg_info "Installing Docker" @@ -163,7 +163,7 @@ if [[ "${type:-}" == "update" ]]; then update else msg_error "${APP} is not installed. Nothing to update." - exit 1 + exit 233 fi exit 0 fi diff --git a/tools/addon/filebrowser-quantum.sh b/tools/addon/filebrowser-quantum.sh index 484c46996..7d470ecac 100644 --- a/tools/addon/filebrowser-quantum.sh +++ b/tools/addon/filebrowser-quantum.sh @@ -54,7 +54,7 @@ elif [[ -f "/etc/debian_version" ]]; then PKG_MANAGER="apt-get install -y" else echo -e "${CROSS} Unsupported OS detected. Exiting." - exit 1 + exit 238 fi header_info diff --git a/tools/addon/filebrowser.sh b/tools/addon/filebrowser.sh index 41d7af249..d8f0c1e98 100644 --- a/tools/addon/filebrowser.sh +++ b/tools/addon/filebrowser.sh @@ -52,7 +52,7 @@ elif [[ -f "/etc/debian_version" ]]; then PKG_MANAGER="apt-get install -y" else echo -e "${CROSS} Unsupported OS detected. Exiting." - exit 1 + exit 238 fi header_info diff --git a/tools/addon/immich-public-proxy.sh b/tools/addon/immich-public-proxy.sh index 509fc17b8..002225b1a 100644 --- a/tools/addon/immich-public-proxy.sh +++ b/tools/addon/immich-public-proxy.sh @@ -52,13 +52,13 @@ EOF # ============================================================================== if [[ -f "/etc/alpine-release" ]]; then msg_error "Alpine is not supported for ${APP}. Use Debian." - exit 1 + exit 238 elif [[ -f "/etc/debian_version" ]]; then OS="Debian" SERVICE_PATH="/etc/systemd/system/immich-proxy.service" else echo -e "${CROSS} Unsupported OS detected. Exiting." - exit 1 + exit 238 fi # ============================================================================== @@ -231,7 +231,7 @@ if [[ "${type:-}" == "update" ]]; then update else msg_error "${APP} is not installed. Nothing to update." - exit 1 + exit 233 fi exit 0 fi diff --git a/tools/addon/jellystat.sh b/tools/addon/jellystat.sh index cb201f6c6..bd53e5189 100644 --- a/tools/addon/jellystat.sh +++ b/tools/addon/jellystat.sh @@ -52,13 +52,13 @@ EOF # ============================================================================== if [[ -f "/etc/alpine-release" ]]; then msg_error "Alpine is not supported for ${APP}. Use Debian/Ubuntu." - exit 1 + exit 238 elif [[ -f "/etc/debian_version" ]]; then OS="Debian" SERVICE_PATH="/etc/systemd/system/jellystat.service" else echo -e "${CROSS} Unsupported OS detected. Exiting." - exit 1 + exit 238 fi # ============================================================================== @@ -326,7 +326,7 @@ if [[ "${type:-}" == "update" ]]; then update else msg_error "${APP} is not installed. Nothing to update." - exit 1 + exit 233 fi exit 0 fi diff --git a/tools/addon/runtipi.sh b/tools/addon/runtipi.sh index 6b9e41ac4..1b231e028 100644 --- a/tools/addon/runtipi.sh +++ b/tools/addon/runtipi.sh @@ -62,7 +62,7 @@ function check_or_install_docker() { msg_ok "Docker Compose is available" else msg_error "Docker Compose plugin is not available. Please install it." - exit 1 + exit 10 fi return fi @@ -72,7 +72,7 @@ function check_or_install_docker() { read -r install_docker_prompt if [[ ! "${install_docker_prompt,,}" =~ ^(y|yes)$ ]]; then msg_error "Docker is required for ${APP}. Exiting." - exit 1 + exit 10 fi msg_info "Installing Docker" @@ -168,14 +168,14 @@ if [[ "${type:-}" == "update" ]]; then update else msg_error "${APP} is not installed. Nothing to update." - exit 1 + exit 233 fi exit 0 fi if [[ -f /etc/alpine-release ]]; then msg_error "${APP} does not support Alpine Linux. Please use a Debian or Ubuntu based LXC." - exit 1 + exit 238 fi header_info