From 57bed164d13ce476dbf05392dc7f850fafb1761e Mon Sep 17 00:00:00 2001 From: tuxwarrior Date: Wed, 1 May 2024 16:14:53 -0500 Subject: [PATCH] + yay --- scripts/curae.sh | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/scripts/curae.sh b/scripts/curae.sh index 9a8e9ec..116a888 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 {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 fi @@ -41,7 +41,7 @@ parameter_2=$3 shopt -s extglob 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'" exit ;; @@ -118,6 +118,15 @@ if [ $operation == "uf" ] || [ $operation == "upd-full" ] ; then fi shopt -u extglob +# install yay +shopt -s extglob +if [ $operation == "yay" ] ; then + + execute_script 99_yay.sh wp + +fi +shopt -u extglob + # update wallpapers shopt -s extglob if [ $operation == "wp" ] ; then