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