/ fixing bugs - wip
This commit is contained in:
@@ -60,16 +60,9 @@ download_repo() {
|
||||
create_dir() {
|
||||
_directory=$1
|
||||
|
||||
echo "<!> _directory: '${_directory}'"
|
||||
|
||||
mkdir_command="mkdir -p \"${_directory}\""
|
||||
|
||||
echo "<!> mkdir_command: '${mkdir_command}'"
|
||||
|
||||
runuser -l ${system_user} -c '${mkdir_command}'
|
||||
|
||||
#mkdir -p ${_directory}
|
||||
#chown ${system_user}:${system_user} ${_directory}
|
||||
}
|
||||
|
||||
deploy_file() {
|
||||
@@ -389,19 +382,17 @@ if [ ${operation} == "dots+" ] ; then
|
||||
dotsplus_trg=${clone_trg}/dotsplus-main
|
||||
|
||||
echo "***** ${operation} *****"
|
||||
# rm -rf ${dotsplus_trg}
|
||||
# download_repo ${targz_dotsplus_url}
|
||||
# tree ${clone_trg}
|
||||
rm -rf ${dotsplus_trg}
|
||||
download_repo ${targz_dotsplus_url}
|
||||
tree ${clone_trg}
|
||||
|
||||
# ----------
|
||||
# fonts
|
||||
# ----------
|
||||
file_path=/home/${system_user}/.local/share/fonts
|
||||
echo "<!> 1"
|
||||
create_dir ${file_path}
|
||||
echo "<!> 2"
|
||||
# deploy_file "${dotsplus_trg}/fonts/install/*" "${file_path}/"
|
||||
#
|
||||
deploy_file "${dotsplus_trg}/fonts/install/*" "${file_path}/"
|
||||
|
||||
# # ----------
|
||||
# # images
|
||||
# # ----------
|
||||
|
||||
Reference in New Issue
Block a user