From 110c8b1c779dcbfb163cf14b280cfc29a1d8e5ee Mon Sep 17 00:00:00 2001 From: awalsh128 Date: Sat, 19 Nov 2022 14:50:50 -0800 Subject: [PATCH] Fix execute_install_scripts message to show the right param name. --- pre_cache_action.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pre_cache_action.sh b/pre_cache_action.sh index dd8ee5c..50e67af 100755 --- a/pre_cache_action.sh +++ b/pre_cache_action.sh @@ -11,7 +11,7 @@ cache_dir="${1}" version="${2}" # Execute post-installation script. -execute_postinst="${3}" +execute_install_scripts="${3}" # List of the packages to use. input_packages="${@:4}" @@ -36,9 +36,9 @@ if test -z "${packages}"; then exit 2 fi -if test "${execute_postinst}" != "true" -o "${execute_postinst}" != "false"; then +if test "${execute_install_scripts}" != "true" -o "${execute_install_scripts}" != "false"; then log "aborted" - log "execute_postinst value '${execute_postinst}' must be either true or false (case sensitive)." + log "execute_install_scripts value '${execute_install_scripts}' must be either true or false (case sensitive)." exit 3 fi