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:
parent
357dddaa5d
commit
1e950e33e6
2 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ fi
|
||||||
### Copy theme files over to /usr/local/share
|
### Copy theme files over to /usr/local/share
|
||||||
if [ -d "$HOME/.local/src/{{ .theme | lower }}/share" ]; then
|
if [ -d "$HOME/.local/src/{{ .theme | lower }}/share" ]; then
|
||||||
logg info 'Copying ~/.local/src/{{ .theme | lower }}/share to /usr/local/share'
|
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
|
else
|
||||||
logg warn '~/.local/src/betelgeuse/share is missing'
|
logg warn '~/.local/src/betelgeuse/share is missing'
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -21,7 +21,7 @@ fi
|
||||||
### Merge latest Candy icons into the Betelgeuse icon theme
|
### Merge latest Candy icons into the Betelgeuse icon theme
|
||||||
if command -v rsync > /dev/null; then
|
if command -v rsync > /dev/null; then
|
||||||
if [ -d "$HOME/.local/src/candy-icons" ] && [ -d /usr/local/share/icons/Candy ]; 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
|
else
|
||||||
logg warn 'Skipping synchronization of Candy icons since either the target or destination folder is not present'
|
logg warn 'Skipping synchronization of Candy icons since either the target or destination folder is not present'
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue