diff options
author | Peter Cai | 2019-03-06 20:56:06 +0800 |
---|---|---|
committer | Peter Cai | 2019-03-06 20:57:39 +0800 |
commit | ee4ef7d7b398dbaca2fcec85321850849b2f3b78 (patch) | |
tree | ac30288777abf284249fd690f4037d53d56967cf /linux-surface-petercxy.install | |
download | aur-ee4ef7d7b398dbaca2fcec85321850849b2f3b78.tar.gz |
initial commit
Diffstat (limited to 'linux-surface-petercxy.install')
-rw-r--r-- | linux-surface-petercxy.install | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/linux-surface-petercxy.install b/linux-surface-petercxy.install new file mode 100644 index 000000000000..37ba37494605 --- /dev/null +++ b/linux-surface-petercxy.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 +} |