summarylogtreecommitdiffstats
path: root/linux-lts.install
diff options
context:
space:
mode:
authorChris Severance2019-02-18 03:21:25 -0500
committerChris Severance2019-02-18 03:21:25 -0500
commit9a2271eae8548fe4161d67f752ac947eecc74a46 (patch)
treec09ce35ab391e078e647053320dba78bd93c9c1c /linux-lts.install
parent5e3279e2e4c06713305a8a1938b7808124d76853 (diff)
downloadaur-9a2271eae8548fe4161d67f752ac947eecc74a46.tar.gz
autu: Update to 4.9.158-1 Update DKMS pacman hooks
Diffstat (limited to 'linux-lts.install')
-rw-r--r--linux-lts.install27
1 files changed, 2 insertions, 25 deletions
diff --git a/linux-lts.install b/linux-lts.install
index 0893e296029..37ba3749460 100644
--- a/linux-lts.install
+++ b/linux-lts.install
@@ -1,33 +1,10 @@
-# arg 1: the new package version
-# arg 2: the old package version
-
-KERNEL_NAME=-lts
-KERNEL_VERSION=
-
-post_install () {
- # updating module dependencies
- echo ">>> Updating module dependencies. Please wait ..."
- depmod ${KERNEL_VERSION}
-}
-
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
-
- # updating module dependencies
- echo ">>> Updating module dependencies. Please wait ..."
- depmod ${KERNEL_VERSION}
-
- if [ $(vercmp $2 3.13) -lt 0 ]; then
- echo ">>> WARNING: AT keyboard support is no longer built into the kernel."
- echo ">>> In order to use your keyboard during early init, you MUST"
- echo ">>> include the 'keyboard' hook in your mkinitcpio.conf."
- fi
}
post_remove() {
- # also remove the compat symlinks
- rm -f boot/initramfs-linux${KERNEL_NAME}.img
- rm -f boot/initramfs-linux${KERNEL_NAME}-fallback.img
+ rm -f boot/initramfs-%PKGBASE%.img
+ rm -f boot/initramfs-%PKGBASE%-fallback.img
}