systemd-boot-pacman-hook: auto updated to 3-1

This commit is contained in:
Lilac 2024-01-15 18:25:44 +00:00
parent 6c4e9832fc
commit 5513e184a6
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,17 @@
# Maintainer: Federico Di Pierro <nierro92@gmail.com>
# Maintainer: Sefa Eyeoglu <contact@scrumplex.net>
pkgname=systemd-boot-pacman-hook
pkgver=3
pkgrel=1
pkgdesc="Pacman hook to upgrade systemd-boot after systemd upgrade."
arch=("any")
license=("GPL")
depends=('systemd')
source=(systemd-boot.hook)
md5sums=('cd8b1e530ce6f239923362492fda3f4f')
package() {
install -m755 -d "${pkgdir}/usr/share/libalpm/hooks"
install -m644 "${srcdir}/systemd-boot.hook" "${pkgdir}/usr/share/libalpm/hooks/95-systemd-boot.hook"
}

View file

@ -0,0 +1,9 @@
[Trigger]
Type = Package
Operation = Upgrade
Target = systemd
[Action]
Description = Gracefully upgrading systemd-boot...
When = PostTransaction
Exec = /usr/bin/systemctl restart systemd-boot-update.service