Update 2 files
- /home/.chezmoiscripts/universal/run_onchange_after_19-theme-files.tmpl - /home/.chezmoiscripts/universal/run_onchange_after_70-misc-bug-fixes.tmpl
This commit is contained in:
parent
6608110011
commit
357dddaa5d
2 changed files with 3 additions and 3 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 cp -rf ~/.local/src/betelgeuse/share /usr/local/
|
sudo rsync -av "$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
|
||||||
|
|
|
@ -20,8 +20,8 @@ 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/{{ .theme }}" ]; 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/{{ .theme }}/"
|
sudo rsync -rtvu "$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