Update 2 files

- /home/.chezmoiscripts/universal/run_onchange_after_70-misc-bug-fixes.tmpl
- /home/.chezmoiscripts/universal/run_onchange_after_19-theme-files.tmpl
This commit is contained in:
Brian Zalewski 2023-01-12 07:33:26 +00:00
parent 357dddaa5d
commit 1e950e33e6
2 changed files with 2 additions and 2 deletions

View file

@ -27,7 +27,7 @@ fi
### Copy theme files over to /usr/local/share
if [ -d "$HOME/.local/src/{{ .theme | lower }}/share" ]; then
logg info 'Copying ~/.local/src/{{ .theme | lower }}/share to /usr/local/share'
sudo rsync -av "$HOME/.local/src/betelgeuse/share/" "/usr/local/share/"
sudo rsync -artvu "$HOME/.local/src/betelgeuse/share/" "/usr/local/share/"
else
logg warn '~/.local/src/betelgeuse/share is missing'
fi

View file

@ -21,7 +21,7 @@ fi
### Merge latest Candy icons into the Betelgeuse icon theme
if command -v rsync > /dev/null; then
if [ -d "$HOME/.local/src/candy-icons" ] && [ -d /usr/local/share/icons/Candy ]; then
sudo rsync -rtvu "$HOME/.local/src/candy-icons/" "/usr/local/share/icons/Candy/"
sudo rsync -artvu --exclude .git/ "$HOME/.local/src/candy-icons/" "/usr/local/share/icons/Candy/"
else
logg warn 'Skipping synchronization of Candy icons since either the target or destination folder is not present'
fi