summarylogtreecommitdiffstats
path: root/linux-mptcp.install
diff options
context:
space:
mode:
authorBaptiste Jonglez2018-03-16 09:45:43 +0100
committerBaptiste Jonglez2018-03-16 09:56:16 +0100
commit4d8cb1b5366a9b139cf5b40d5f0b51a5f4acc0bf (patch)
tree6846c55bbcf8ff0f64d7328b56c1005b2e32357b /linux-mptcp.install
parent1ffafb6952c77e1afd604baa4a3adf094baed29a (diff)
downloadaur-4d8cb1b5366a9b139cf5b40d5f0b51a5f4acc0bf.tar.gz
linux-mptcp: Bump to 0.94 (thanks djanos!)
Diffstat (limited to 'linux-mptcp.install')
-rw-r--r--linux-mptcp.install10
1 files changed, 10 insertions, 0 deletions
diff --git a/linux-mptcp.install b/linux-mptcp.install
new file mode 100644
index 00000000000..37ba3749460
--- /dev/null
+++ b/linux-mptcp.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
+}