From 75a6219663889fdd14b08332e0331e50fb00d98d Mon Sep 17 00:00:00 2001 From: t470p Date: Thu, 9 May 2024 19:58:24 -0500 Subject: [PATCH] + sw default param = update no longer need to provide "update" for sw updates --- scripts/curae.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/curae.sh b/scripts/curae.sh index ae81b90..e601104 100644 --- a/scripts/curae.sh +++ b/scripts/curae.sh @@ -85,6 +85,10 @@ shopt -u extglob shopt -s extglob if [ $operation == "sw" ] || [ $operation == "software" ] ; then + if [ -z "${parameter_1}" ]; then + parameter_1=update + fi + if [ $parameter_1 == "update" ] ; then if [ -z "${parameter_2}" ]; then parameter_2=$HOSTNAME