diff --git a/install.sh b/install.sh index cfbd497..64ad298 100755 --- a/install.sh +++ b/install.sh @@ -1,6 +1,6 @@ #!/bin/bash -### version: 1.10.3 +### version: 1.10.4 # ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.# # Nightscout Mikr.us setup script # @@ -16,7 +16,7 @@ # This file is automatically generated. Do not modify it directly! # Instead, modify the source files in the src directory and run the build script! # -# Build time: 2026.01.06 15:45 +# Build time: 2026.01.06 16:35 @@ -61,7 +61,7 @@ DISK_LOW_MAIL=5184000 # == 60 days in seconds DISK_CRITICAL_WARNING=104857600 # == 100 MiB DISK_CRITICAL_MAIL=604800 # == 7 days in seconds DOCKER_DOWN_MAIL=604800 # == 7 days in seconds -SCRIPT_VERSION="1.10.3" #auto-update +SCRIPT_VERSION="1.10.4" #auto-update SCRIPT_BUILD_TIME="2026.01.06" #auto-update FORCE_DEBUG_LOG="" NONINTERACTIVE_MODE="false" @@ -1150,8 +1150,15 @@ check_docker() { } check_docker_compose() { - docker compose version >/dev/null 2>&1 - add_if_not_ok_compose "Docker compose" + local version_output + version_output="$(docker compose version)" + # check if output has 'unknown' in it + if [[ "$version_output" == *"unknown"* ]]; then + $?=-1 + add_if_not_ok_compose "Docker compose" + else + msgcheck "Docker compose installed" + fi } check_jq() { diff --git a/package.json b/package.json index 8169284..e312318 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dlvoy/ns-installer-mikrus", - "version": "1.10.3", + "version": "1.10.4", "description": "Nightscout installer for mikr.us VPS", "main": "index.js", "scripts": { diff --git a/updated b/updated index 7e04595..9d21b04 100644 --- a/updated +++ b/updated @@ -1 +1 @@ -2026-01-06T15:45:06.053Z \ No newline at end of file +2026-01-06T16:35:48.974Z \ No newline at end of file