2011-07-18 14:30:49 +02:00
|
|
|
post_upgrade() {
|
2012-01-04 00:49:43 +01:00
|
|
|
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."
|
2011-07-18 14:30:49 +02:00
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
|
|
|
post_remove() {
|
2016-11-17 16:27:34 +01:00
|
|
|
rm -f boot/initramfs-%PKGBASE%.img
|
|
|
|
rm -f boot/initramfs-%PKGBASE%-fallback.img
|
2011-07-18 14:30:49 +02:00
|
|
|
}
|
2018-11-27 20:09:49 +01:00
|
|
|
|
|
|
|
# vim:set ft=sh ts=8 sts=2 sw=2 et:
|