layout upd

This commit is contained in:
tuxwarrior
2024-04-30 22:02:09 -05:00
parent 6fa8cb753e
commit bf308155e3
3 changed files with 5 additions and 6 deletions

View File

@@ -72,7 +72,7 @@ deploy_file() {
ls -al ${_trg_path} ls -al ${_trg_path}
} }
# ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
# download all dots (dot files) from repo # download all dots (dot files) from repo
if [ ${operation} == "dots" ] ; then if [ ${operation} == "dots" ] ; then

View File

@@ -32,6 +32,8 @@ param_check() {
fi fi
} }
# ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
# ----- # -----
# always update the system # always update the system
# ----- # -----
@@ -39,7 +41,6 @@ sudo pacman -Syu
echo "-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-" echo "-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-"
# ----- # -----
# setup all packages for given host # setup all packages for given host
# ----- # -----
@@ -94,8 +95,6 @@ if [ ${operation} == "setup" ] ; then
fi fi
# ----- # -----
# install package # install package
# ----- # -----

View File

@@ -48,6 +48,8 @@ case $operation in
esac esac
shopt -u extglob shopt -u extglob
# ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
# helper function # helper function
execute_script() { execute_script() {
file=$1 file=$1
@@ -59,10 +61,8 @@ execute_script() {
/tmp/${file} ${parameter_1} ${parameter_2} /tmp/${file} ${parameter_1} ${parameter_2}
} }
# ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ # ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
# update dot files # update dot files
shopt -s extglob shopt -s extglob
if [ $operation == "dots" ] ; then if [ $operation == "dots" ] ; then