Update file provision.sh
This commit is contained in:
parent
46183113f5
commit
cf9ac0f7c2
1 changed files with 7 additions and 7 deletions
|
@ -382,14 +382,14 @@ else
|
||||||
chown -Rf "$USER":"$(id -g -n)" /usr/local/src/hiawatha
|
chown -Rf "$USER":"$(id -g -n)" /usr/local/src/hiawatha
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
### Copy new files from src git repository to dotfiles with rsync
|
||||||
rsyncChezmoiFiles() {
|
rsyncChezmoiFiles() {
|
||||||
rsync -rtvu --delete /usr/local/src/hiawatha/docs/ "${XDG_DATA_DIR:-$HOME/.local/share}/chezmoi/docs/" &
|
rsync -rtvu --delete /usr/local/src/hiawatha/docs/ "${XDG_DATA_DIR:-$HOME/.local/share}/chezmoi/docs/"
|
||||||
rsync -rtvu --delete /usr/local/src/hiawatha/home/ "${XDG_DATA_DIR:-$HOME/.local/share}/chezmoi/home/" &
|
rsync -rtvu --delete /usr/local/src/hiawatha/home/ "${XDG_DATA_DIR:-$HOME/.local/share}/chezmoi/home/"
|
||||||
rsync -rtvu --delete /usr/local/src/hiawatha/system/ "${XDG_DATA_DIR:-$HOME/.local/share}/chezmoi/system/" &
|
rsync -rtvu --delete /usr/local/src/hiawatha/system/ "${XDG_DATA_DIR:-$HOME/.local/share}/chezmoi/system/"
|
||||||
rsync -rtvu /usr/local/src/hiawatha/.chezmoiignore "${XDG_DATA_DIR:-$HOME/.local/share}/chezmoi/.chezmoiignore" &
|
rsync -rtvu /usr/local/src/hiawatha/.chezmoiignore "${XDG_DATA_DIR:-$HOME/.local/share}/chezmoi/.chezmoiignore"
|
||||||
rsync -rtvu /usr/local/src/hiawatha/.chezmoiroot "${XDG_DATA_DIR:-$HOME/.local/share}/chezmoi/.chezmoiroot" &
|
rsync -rtvu /usr/local/src/hiawatha/.chezmoiroot "${XDG_DATA_DIR:-$HOME/.local/share}/chezmoi/.chezmoiroot"
|
||||||
rsync -rtvu /usr/local/src/hiawatha/software.yml "${XDG_DATA_DIR:-$HOME/.local/share}/chezmoi/software.yml" &
|
rsync -rtvu /usr/local/src/hiawatha/software.yml "${XDG_DATA_DIR:-$HOME/.local/share}/chezmoi/software.yml"
|
||||||
wait
|
|
||||||
logg success 'Successfully updated the ~/.local/share/chezmoi folder with changes from the upstream repository'
|
logg success 'Successfully updated the ~/.local/share/chezmoi folder with changes from the upstream repository'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue