This commit is contained in:
tuxwarrior
2024-05-01 10:51:27 -05:00
parent 36f9cf58fc
commit 9b99aecc87
2 changed files with 4 additions and 4 deletions

View File

@@ -42,9 +42,9 @@ sudo pacman -Syu
echo "-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-" 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" param_check "${parameter}" "no host name given"

View File

@@ -31,7 +31,7 @@ fi
this_file_name=`basename "$0"` this_file_name=`basename "$0"`
if [ $# -lt 1 ]; then 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 exit 1
fi fi
@@ -80,7 +80,7 @@ if [ $operation == "sw" ] || [ $operation == "software" ] ; then
parameter_2=$HOSTNAME parameter_2=$HOSTNAME
fi fi
execute_script 99_software.sh ${parameter_1} ${parameter_2} execute_script 99_software.sh "${parameter_1}" "${parameter_2}"
fi fi
shopt -u extglob shopt -u extglob