summarylogtreecommitdiffstats
path: root/linux.install
diff options
context:
space:
mode:
authorJosip Ponjavic2019-10-12 00:12:24 +0200
committerJosip Ponjavic2019-10-12 00:12:24 +0200
commit21ab4a6ca1c694d44127e1378a68372ce40f4204 (patch)
tree52a1e744b87a63dcfb1625c8aaf485156700f18e /linux.install
parente3ecfc5dfb325a2eb100bf6029839f5ebff1af63 (diff)
downloadaur-21ab4a6ca1c694d44127e1378a68372ce40f4204.tar.gz
4.19.79-2 (clr 4.19.71-77) remove initramfs remove hook file
Diffstat (limited to 'linux.install')
-rw-r--r--linux.install5
1 files changed, 5 insertions, 0 deletions
diff --git a/linux.install b/linux.install
index f7258757298..0e50c2bfe7b 100644
--- a/linux.install
+++ b/linux.install
@@ -11,3 +11,8 @@ post_upgrade() {
echo "WARNING: /boot appears to be a separate partition but is not mounted."
fi
}
+
+post_remove() {
+ rm -f boot/initramfs-%PKGBASE%.img
+ rm -f boot/initramfs-%PKGBASE%-fallback.img
+}