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