diff --git a/.SRCINFO b/.SRCINFO index dfacec7..e2d5b9d 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,12 +1,12 @@ pkgbase = check-boot-hook pkgdesc = Cancel package actions if /boot is not mounted - pkgver = 0.0.1 + pkgver = 0.0.2 pkgrel = 1 url = https://git.zknt.org/chris/check-boot-hook arch = any license = MIT source = 95-check-boot.hook - sha256sums = a41f0f1c9715a3f9894dc39221ebae6e666b74e24c2db8586bbcf426be694f04 + sha256sums = 6fc25b4b1dd3c1e3cf78640b616975aefc2f66faf5faa82a39cbc8c40c7762bd pkgname = check-boot-hook diff --git a/95-check-boot.hook b/95-check-boot.hook index 60a458f..ff81cbb 100644 --- a/95-check-boot.hook +++ b/95-check-boot.hook @@ -5,6 +5,7 @@ Operation = Remove Type = File Target = boot/* Target = usr/lib/initcpio/* +Target = usr/lib/modules/* [Action] When = PreTransaction diff --git a/PKGBUILD b/PKGBUILD index c595ee0..2da0423 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,13 +1,13 @@ # Maintainer: tercean pkgname=check-boot-hook -pkgver=0.0.1 +pkgver=0.0.2 pkgrel=1 pkgdesc="Cancel package actions if /boot is not mounted" arch=('any') url="https://git.zknt.org/chris/check-boot-hook" license=('MIT') source=("95-check-boot.hook") -sha256sums=('a41f0f1c9715a3f9894dc39221ebae6e666b74e24c2db8586bbcf426be694f04') +sha256sums=('6fc25b4b1dd3c1e3cf78640b616975aefc2f66faf5faa82a39cbc8c40c7762bd') package() { install -Dm644 '95-check-boot.hook' "${pkgdir}/usr/share/libalpm/hooks/95-check-boot.hook"