From 78a7e1137fd569b33c588a5c5e5c52bce6f2ec88 Mon Sep 17 00:00:00 2001 From: mag37 Date: Tue, 18 Feb 2025 10:07:21 +0100 Subject: [PATCH] OSX appname return --- dockcheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dockcheck.sh b/dockcheck.sh index 8d7949e..e27f12d 100755 --- a/dockcheck.sh +++ b/dockcheck.sh @@ -219,7 +219,7 @@ dependency_check() { [[ "$GetBin" =~ [yY] ]] && distro_checker if [[ -n "$PkgInstaller" && "$PkgInstaller" != "ERROR" ]] ; then [[ $(uname -s) == "Darwin" && "$AppName" == "regctl" ]] && AppName="regclient" - ($PkgInstaller $AppName) ; PkgExitcode="$?" + ($PkgInstaller $AppName) ; PkgExitcode="$?" && AppName="$1" if [[ "$PkgExitcode" == 0 ]] ; then { export $AppVar="$AppName" && printf "\n%b$AppName installed.%b\n" "$c_green" "$c_reset"; } else printf "\n%bPackagemanager install failed%b, falling back to static binary.\n" "$c_yellow" "$c_reset" fi