From 0ca92e1bab6d16f91f8175098fec06b82191b111 Mon Sep 17 00:00:00 2001 From: tuxwarrior Date: Wed, 1 May 2024 10:56:28 -0500 Subject: [PATCH] u --- scripts/curae.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/curae.sh b/scripts/curae.sh index fa24c24..3659daa 100644 --- a/scripts/curae.sh +++ b/scripts/curae.sh @@ -76,8 +76,10 @@ shopt -u extglob shopt -s extglob if [ $operation == "sw" ] || [ $operation == "software" ] ; then - if [ -z "${parameter_2}" ]; then - parameter_2=$HOSTNAME + if [ $parameter_1 == "update" ] ; then + if [ -z "${parameter_2}" ]; then + parameter_2=$HOSTNAME + fi fi execute_script 99_software.sh "${parameter_1}" "${parameter_2}"