From 9b99aecc8756c9dc99b69775d603c0bea6ed7f6d Mon Sep 17 00:00:00 2001 From: tuxwarrior Date: Wed, 1 May 2024 10:51:27 -0500 Subject: [PATCH] u --- scripts/99_software.sh | 4 ++-- scripts/curae.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/99_software.sh b/scripts/99_software.sh index 1d3a14f..29a4b3e 100644 --- a/scripts/99_software.sh +++ b/scripts/99_software.sh @@ -42,9 +42,9 @@ sudo pacman -Syu echo "-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-" # ----- -# setup all packages for given host +# update all packages for given host # ----- -if [ ${operation} == "setup" ] ; then +if [ ${operation} == "update" ] ; then param_check "${parameter}" "no host name given" diff --git a/scripts/curae.sh b/scripts/curae.sh index c8d384f..fa24c24 100644 --- a/scripts/curae.sh +++ b/scripts/curae.sh @@ -31,7 +31,7 @@ fi this_file_name=`basename "$0"` if [ $# -lt 1 ]; then - echo "usage: '$this_file_name { dots | uf / upd-full [host] | sw / software {setup/install} [host] | us / upd-self | wp }'" + echo "usage: '$this_file_name { dots | uf / upd-full [host] | sw / software {update/install} [host] | us / upd-self | wp }'" exit 1 fi @@ -80,7 +80,7 @@ if [ $operation == "sw" ] || [ $operation == "software" ] ; then parameter_2=$HOSTNAME fi - execute_script 99_software.sh ${parameter_1} ${parameter_2} + execute_script 99_software.sh "${parameter_1}" "${parameter_2}" fi shopt -u extglob