/ bugs fixed (i believe)
This commit is contained in:
@@ -79,10 +79,6 @@ deploy_file() {
|
|||||||
echo ""
|
echo ""
|
||||||
echo "${file_name_trg}:"
|
echo "${file_name_trg}:"
|
||||||
|
|
||||||
echo "<!> _src_path: ${_src_path}"
|
|
||||||
echo "<!> _trg_path: ${_trg_path}"
|
|
||||||
echo "<!> file_name_src: ${file_name_src}"
|
|
||||||
|
|
||||||
suffix1=".zip"
|
suffix1=".zip"
|
||||||
suffix2=".tar.xz"
|
suffix2=".tar.xz"
|
||||||
if [[ ${file_name_src} == *$suffix1 ]] ; then
|
if [[ ${file_name_src} == *$suffix1 ]] ; then
|
||||||
@@ -91,10 +87,8 @@ echo "<!> file_name_src: ${file_name_src}"
|
|||||||
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
|
||||||
echo "<!> TARING!"
|
tar -xf ${_src_path} -C ${_trg_path}
|
||||||
# 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
|
||||||
@@ -397,44 +391,44 @@ if [ ${operation} == "dots+" ] ; then
|
|||||||
create_dir ${file_path}
|
create_dir ${file_path}
|
||||||
deploy_file "${dotsplus_trg}/fonts/install/*" "${file_path}/"
|
deploy_file "${dotsplus_trg}/fonts/install/*" "${file_path}/"
|
||||||
|
|
||||||
# # ----------
|
# ----------
|
||||||
# # images
|
# images
|
||||||
# # ----------
|
# ----------
|
||||||
# file_path=/home/${system_user}/.local/share/img
|
file_path=/home/${system_user}/.local/share/img
|
||||||
# create_dir ${file_path}
|
create_dir ${file_path}
|
||||||
# deploy_file "${dotsplus_trg}/images/*" "${file_path}/"
|
deploy_file "${dotsplus_trg}/images/*" "${file_path}/"
|
||||||
#
|
|
||||||
# # ----------
|
# ----------
|
||||||
# # wallpapers
|
# wallpapers
|
||||||
# # ----------
|
# ----------
|
||||||
# file_path=/home/${system_user}/.local/share/wp
|
file_path=/home/${system_user}/.local/share/wp
|
||||||
# create_dir ${file_path}
|
create_dir ${file_path}
|
||||||
# deploy_file "${dotsplus_trg}/wallpapers/install/*" "${file_path}/"
|
deploy_file "${dotsplus_trg}/wallpapers/install/*" "${file_path}/"
|
||||||
#
|
|
||||||
# # ----------
|
# ----------
|
||||||
# # miscelanneous
|
# miscelanneous
|
||||||
# # ----------
|
# ----------
|
||||||
#
|
|
||||||
# # vscodium theme
|
# vscodium theme
|
||||||
# # https://vscodethemes.com/e/sdras.night-owl/night-owl-no-italics?language=javascript
|
# https://vscodethemes.com/e/sdras.night-owl/night-owl-no-italics?language=javascript
|
||||||
# # https://github.com/sdras/night-owl-vscode-theme/tree/main/themes
|
# https://github.com/sdras/night-owl-vscode-theme/tree/main/themes
|
||||||
# file_name=night-owl-vscode-theme-main.zip
|
file_name=night-owl-vscode-theme-main.zip
|
||||||
# file_path=/home/${system_user}/.vscode-oss/extensions
|
file_path=/home/${system_user}/.vscode-oss/extensions
|
||||||
# create_dir ${file_path}
|
create_dir ${file_path}
|
||||||
# deploy_file "${dotsplus_trg}/miscellaneous/${file_name}" "${file_path}/" chown recursive
|
deploy_file "${dotsplus_trg}/miscellaneous/${file_name}" "${file_path}/" chown recursive
|
||||||
#
|
|
||||||
# # sweet dark gtk theme
|
# sweet dark gtk theme
|
||||||
# # https://github.com/EliverLara/Sweet
|
# https://github.com/EliverLara/Sweet
|
||||||
# # https://github.com/EliverLara/Sweet/releases
|
# https://github.com/EliverLara/Sweet/releases
|
||||||
# file_name=Sweet-Dark.tar.xz
|
file_name=Sweet-Dark.tar.xz
|
||||||
# file_path=/usr/share/themes
|
file_path=/usr/share/themes
|
||||||
# deploy_file "${dotsplus_trg}/miscellaneous/${file_name}" "${file_path}/" chown recursive
|
deploy_file "${dotsplus_trg}/miscellaneous/${file_name}" "${file_path}/" chown recursive
|
||||||
#
|
|
||||||
# # ----------
|
# ----------
|
||||||
# # chowning
|
# chowning
|
||||||
# # ----------
|
# ----------
|
||||||
# share_dir=/home/${system_user}/.local/share
|
share_dir=/home/${system_user}/.local/share
|
||||||
# chown ${system_user}:${system_user} ${share_dir}
|
chown ${system_user}:${system_user} ${share_dir}
|
||||||
# chown ${system_user}:${system_user} ${share_dir}/*
|
chown ${system_user}:${system_user} ${share_dir}/*
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user