u
This commit is contained in:
@@ -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"
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user