diff options
Diffstat (limited to 'linux.install')
-rw-r--r-- | linux.install | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/linux.install b/linux.install index ef42413835ac..9d80af98d590 100644 --- a/linux.install +++ b/linux.install @@ -9,7 +9,7 @@ post_install () { echo ">>> Updating module dependencies. Please wait ..." depmod ${KERNEL_VERSION} echo ">>> Generating initial ramdisk, using mkinitcpio. Please wait..." - mkinitcpio -p linux${KERNEL_NAME} + mkinitcpio -p ${KERNEL_NAME} } post_upgrade() { @@ -21,7 +21,7 @@ post_upgrade() { echo ">>> Updating module dependencies. Please wait ..." depmod ${KERNEL_VERSION} echo ">>> Generating initial ramdisk, using mkinitcpio. Please wait..." - mkinitcpio -p linux${KERNEL_NAME} + mkinitcpio -p ${KERNEL_NAME} if [ $(vercmp $2 3.13) -lt 0 ]; then echo ">>> WARNING: AT keyboard support is no longer built into the kernel." @@ -32,6 +32,6 @@ post_upgrade() { 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-${KERNEL_NAME}.img + rm -f boot/initramfs-${KERNEL_NAME}-fallback.img } |