From 9245718edab9c930022035b508213b7f5e46cb48 Mon Sep 17 00:00:00 2001 From: mag37 Date: Sun, 1 Mar 2026 18:46:58 +0100 Subject: [PATCH] Added application name to 'dependency missing' message --- dockcheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dockcheck.sh b/dockcheck.sh index b607583..fc8392b 100755 --- a/dockcheck.sh +++ b/dockcheck.sh @@ -396,7 +396,7 @@ dependency_check() { binary_downloader "$AppName" "$AppUrl" [[ -f "$ScriptWorkDir/$AppName" ]] && { export "$AppVar"="$ScriptWorkDir/$1" && printf "\n%b%s downloaded.%b\n" "$c_green" "$AppName" "$c_reset"; } fi - else printf "\n%bDependency missing, exiting.%b\n" "$c_red" "$c_reset"; exit 1; + else printf "\n%bDependency '%s' missing, exiting.%b\n" "$c_red" "$AppName" "$c_reset"; exit 1; fi fi # Final check if binary is correct