/ fixing bugs - wip

This commit is contained in:
committer@tuxwarrior
2024-08-27 16:09:16 -05:00
parent 86a1caebbf
commit a9d2da6de6

View File

@@ -60,16 +60,9 @@ download_repo() {
create_dir() { create_dir() {
_directory=$1 _directory=$1
echo "<!> _directory: '${_directory}'"
mkdir_command="mkdir -p \"${_directory}\"" mkdir_command="mkdir -p \"${_directory}\""
echo "<!> mkdir_command: '${mkdir_command}'"
runuser -l ${system_user} -c '${mkdir_command}' runuser -l ${system_user} -c '${mkdir_command}'
#mkdir -p ${_directory}
#chown ${system_user}:${system_user} ${_directory}
} }
deploy_file() { deploy_file() {
@@ -389,19 +382,17 @@ if [ ${operation} == "dots+" ] ; then
dotsplus_trg=${clone_trg}/dotsplus-main dotsplus_trg=${clone_trg}/dotsplus-main
echo "***** ${operation} *****" echo "***** ${operation} *****"
# rm -rf ${dotsplus_trg} rm -rf ${dotsplus_trg}
# download_repo ${targz_dotsplus_url} download_repo ${targz_dotsplus_url}
# tree ${clone_trg} tree ${clone_trg}
# ---------- # ----------
# 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}/"
#
# # ---------- # # ----------
# # images # # images
# # ---------- # # ----------