This commit is contained in:
tuxwarrior
2024-05-01 16:14:53 -05:00
parent 5df435b5c3
commit 57bed164d1

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 {update/install} [host]? | us / upd-self | wp }'" echo "usage: '$this_file_name { dots | uf / upd-full [host]? | sw / software {update/install} [host]? | us / upd-self | yay | wp }'"
exit 1 exit 1
fi fi
@@ -41,7 +41,7 @@ parameter_2=$3
shopt -s extglob shopt -s extglob
case $operation in case $operation in
!(dots|uf|upd-full|sw|software|us|upd-self|wp)) !(dots|uf|upd-full|sw|software|us|upd-self|yay|wp))
echo "error: unknown operation '$operation'" echo "error: unknown operation '$operation'"
exit exit
;; ;;
@@ -118,6 +118,15 @@ if [ $operation == "uf" ] || [ $operation == "upd-full" ] ; then
fi fi
shopt -u extglob shopt -u extglob
# install yay
shopt -s extglob
if [ $operation == "yay" ] ; then
execute_script 99_yay.sh wp
fi
shopt -u extglob
# update wallpapers # update wallpapers
shopt -s extglob shopt -s extglob
if [ $operation == "wp" ] ; then if [ $operation == "wp" ] ; then