Refresh quietly from the path unit and pacman hook

Add a --quiet mode that updates the pending file without notifying, run by
the new update-notify-quiet.service, so aur sync doesn't notify per package.
This commit is contained in:
Daniele Fucini
2026-10-18 15:31:46 +02:00
parent bd34dd7bf1
commit 41f94d719b
6 changed files with 25 additions and 5 deletions
+1
View File
@@ -25,6 +25,7 @@ package()
cd "$srcdir"/"$pkgname"
install -Dm755 "$pkgname" "$pkgdir"/usr/bin/"$pkgname"
install -Dm644 "$pkgname".service "$pkgdir"/usr/lib/systemd/user/"$pkgname".service
install -Dm644 "$pkgname"-quiet.service "$pkgdir"/usr/lib/systemd/user/"$pkgname"-quiet.service
install -Dm644 "$pkgname".timer "$pkgdir"/usr/lib/systemd/user/"$pkgname".timer
install -Dm644 "$pkgname".path "$pkgdir"/usr/lib/systemd/user/"$pkgname".path
install -Dm755 "$pkgname"-refresh "$pkgdir"/usr/lib/"$pkgname"/refresh