diff options
author | root <root@rshg054.dnsready.net> | 2011-08-02 04:35:55 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-08-02 04:35:55 +0000 |
commit | bf35116f9d203dcafce808a6c7b3dd5a0db8afbc (patch) | |
tree | f9551a1d3c67d2113cc5fc5c3f8816bcbaad0540 /libre/linux-libre/linux-libre.install | |
parent | 1173ff2dba7d0fd3c45f170a5e353a76b7a5da2f (diff) |
Tue Aug 2 04:35:55 UTC 2011
Diffstat (limited to 'libre/linux-libre/linux-libre.install')
-rw-r--r-- | libre/linux-libre/linux-libre.install | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/libre/linux-libre/linux-libre.install b/libre/linux-libre/linux-libre.install index 67907bf56..51e78dc60 100644 --- a/libre/linux-libre/linux-libre.install +++ b/libre/linux-libre/linux-libre.install @@ -2,7 +2,7 @@ # arg 2: the old package version KERNEL_NAME= -KERNEL_VERSION=3.0.0-LIBRE +KERNEL_VERSION=3.0-LIBRE post_install () { # updating module dependencies @@ -12,9 +12,9 @@ post_install () { mkinitcpio -p linux-libre${KERNEL_NAME} # add compat symlinks for the initramfs images - ln -sf initramfs-linux-libre${KERNEL_NAME}.img boot/kernel26-libre${KERNEL_NAME}.img + ln -sf initramfs-linux-libre${KERNEL_NAME}.img boot/kernel26${KERNEL_NAME}.img ln -sf initramfs-linux-libre${KERNEL_NAME}-fallback.img \ - boot/kernel26-libre${KERNEL_NAME}-fallback.img + boot/kernel26${KERNEL_NAME}-fallback.img } post_upgrade() { @@ -53,7 +53,6 @@ post_upgrade() { post_remove() { # also remove the compat symlinks - rm -f boot/{initramfs-linux,kernel26}-libre${KERNEL_NAME}.img - rm -f boot/{initramfs-linux,kernel26}-libre${KERNEL_NAME}-fallback.img + rm -f boot/{initramfs-linux-libre,kernel26}${KERNEL_NAME}.img + rm -f boot/{initramfs-linux-libre,kernel26}${KERNEL_NAME}-fallback.img } - |