This commit is contained in:
tuxwarrior
2024-05-01 10:56:28 -05:00
parent 9b99aecc87
commit 0ca92e1bab

View File

@@ -76,9 +76,11 @@ shopt -u extglob
shopt -s extglob shopt -s extglob
if [ $operation == "sw" ] || [ $operation == "software" ] ; then if [ $operation == "sw" ] || [ $operation == "software" ] ; then
if [ $parameter_1 == "update" ] ; then
if [ -z "${parameter_2}" ]; then if [ -z "${parameter_2}" ]; then
parameter_2=$HOSTNAME parameter_2=$HOSTNAME
fi fi
fi
execute_script 99_software.sh "${parameter_1}" "${parameter_2}" execute_script 99_software.sh "${parameter_1}" "${parameter_2}"