wp > dots+

This commit is contained in:
tuxwarrior
2024-05-04 14:36:12 -05:00
parent 71fc2f7986
commit a4a26d8e1c

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