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}"