diff --git a/home/.chezmoiscripts/universal/run_onchange_after_19-theme-files.tmpl b/home/.chezmoiscripts/universal/run_onchange_after_19-theme-files.tmpl index 7386aca8..9fb1c768 100644 --- a/home/.chezmoiscripts/universal/run_onchange_after_19-theme-files.tmpl +++ b/home/.chezmoiscripts/universal/run_onchange_after_19-theme-files.tmpl @@ -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 -artvu "$HOME/.local/src/betelgeuse/share/" "/usr/local/share/" > /dev/null + sudo rsync --chown=root:root --chmod=Du=rwx,Dg=rx,Do=rx,Fu=rw,Fg=r,Fo=r -artvu --inplace "$HOME/.local/src/betelgeuse/share/" "/usr/local/share/" > /dev/null else logg warn '~/.local/src/betelgeuse/share is missing' fi