/u
This commit is contained in:
@@ -88,8 +88,10 @@ deploy_file() {
|
|||||||
echo "_trg_path: ${_trg_path}"
|
echo "_trg_path: ${_trg_path}"
|
||||||
unzip -o ${_src_path} -d ${_trg_path}
|
unzip -o ${_src_path} -d ${_trg_path}
|
||||||
elif [[ ${file_name_src} == *$suffix2 ]] ; then
|
elif [[ ${file_name_src} == *$suffix2 ]] ; then
|
||||||
tar -xf ${_src_path} -C ${_trg_path}
|
echo "<!> TARING!"
|
||||||
|
# tar -xf ${_src_path} -C ${_trg_path}
|
||||||
else
|
else
|
||||||
|
echo "<!> COPYING!"
|
||||||
# -f (--force): overwrite without confirmation
|
# -f (--force): overwrite without confirmation
|
||||||
cp --force --recursive ${_src_path} ${_trg_path}
|
cp --force --recursive ${_src_path} ${_trg_path}
|
||||||
fi
|
fi
|
||||||
@@ -389,7 +391,9 @@ if [ ${operation} == "dots+" ] ; then
|
|||||||
# fonts
|
# fonts
|
||||||
# ----------
|
# ----------
|
||||||
file_path=/home/${system_user}/.local/share/fonts
|
file_path=/home/${system_user}/.local/share/fonts
|
||||||
|
echo "<!> 1"
|
||||||
create_dir ${file_path}
|
create_dir ${file_path}
|
||||||
|
echo "<!> 2"
|
||||||
deploy_file "${dotsplus_trg}/fonts/install/*" "${file_path}/"
|
deploy_file "${dotsplus_trg}/fonts/install/*" "${file_path}/"
|
||||||
|
|
||||||
# ----------
|
# ----------
|
||||||
|
|||||||
Reference in New Issue
Block a user