diff options
author | dysphoria | 2017-12-13 14:37:34 +0000 |
---|---|---|
committer | dysphoria | 2017-12-13 14:37:34 +0000 |
commit | 2e720f6807cf1055d2365d5c859f66b58e5f09ad (patch) | |
tree | 2165a1d0236a20924b8701b49857adad40d584d9 /linux.install | |
parent | d5e7426dc0d149f086c3ce0ca2992d668eaf2010 (diff) | |
download | aur-2e720f6807cf1055d2365d5c859f66b58e5f09ad.tar.gz |
[fix] naming issues
Diffstat (limited to 'linux.install')
-rw-r--r-- | linux.install | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/linux.install b/linux.install new file mode 100644 index 000000000000..37ba37494605 --- /dev/null +++ b/linux.install @@ -0,0 +1,10 @@ +post_upgrade() { + if findmnt --fstab -uno SOURCE /boot &>/dev/null && ! mountpoint -q /boot; then + 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 +} |