Add a pacman hook that runs update-notify for each logged-in user with the timer active, and a path unit that users can point at their local repo databases to refresh after aur build.
11 lines
281 B
SYSTEMD
11 lines
281 B
SYSTEMD
[Unit]
|
|
Description=Run update-notify when a local repository changes
|
|
|
|
# Add the repository files to watch with: systemctl --user edit update-notify.path
|
|
# e.g. PathChanged=/home/aur-local/aur-local.db.tar.gz.sig
|
|
[Path]
|
|
Unit=update-notify.service
|
|
|
|
[Install]
|
|
WantedBy=default.target
|