tos/packages/tos-dotfiles/tos-dotfiles.hook

12 lines
249 B
Plaintext

[Trigger]
Operation = Install
Operation = Upgrade
Operation = Remove
Type = Package
Target = tos-*
[Action]
Description = Update user dotfiles
Depends = tos-dotfiles
When = PostTransaction
Exec = rsync -r --chown=me:me /etc/tos/dotfiles/* /home/me/