too tired.. forgot fi's

This commit is contained in:
mag37 2025-02-13 22:21:53 +01:00
parent 73050abf10
commit 6cba140522

View file

@ -242,9 +242,11 @@ else
fi
else
GetRegctl="S"
fi
if [[ "$GetRegct" =~ [Ss] || "$PkgInstaller" == "ERROR" || "$PkgExitcode" != 0 ]] ; then
binary_downloader "regctl" "https://github.com/regclient/regclient/releases/latest/download/regctl-linux-TEMP"
[[ -f "$ScriptWorkDir/regctl" ]] && regbin="$ScriptWorkDir/regctl"
fi
else printf "\n%bDependency missing, exiting.%b\n" "$c_red" "$c_reset" ; exit 1 ;
fi
fi