mirror of
https://github.com/mag37/dockcheck.git
synced 2026-04-19 10:57:45 +00:00
Update dockcheck.sh
indentation error.
This commit is contained in:
@@ -221,7 +221,7 @@ dependency_check() {
|
|||||||
[[ $(uname -s) == "Darwin" && "$AppName" == "regctl" ]] && AppName=regclient
|
[[ $(uname -s) == "Darwin" && "$AppName" == "regctl" ]] && AppName=regclient
|
||||||
($PkgInstaller $AppName) ; PkgExitcode="$?"
|
($PkgInstaller $AppName) ; PkgExitcode="$?"
|
||||||
if [[ "$PkgExitcode" == 0 ]] ; then { export $AppVar="$AppName" && printf "\n%b$AppName installed.%b\n" "$c_green" "$c_reset"; }
|
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"
|
else printf "\n%bPackagemanager install failed%b, falling back to static binary.\n" "$c_yellow" "$c_reset"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if [[ "$GetBin" =~ [sS] || "$PkgInstaller" == "ERROR" || "$PkgExitcode" != 0 ]] ; then
|
if [[ "$GetBin" =~ [sS] || "$PkgInstaller" == "ERROR" || "$PkgExitcode" != 0 ]] ; then
|
||||||
|
|||||||
Reference in New Issue
Block a user