diff options
author | Francois Pons <fpons@mandriva.com> | 2003-01-08 13:57:23 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2003-01-08 13:57:23 +0000 |
commit | 0f405502f80d07b042513374fc4740040406cc62 (patch) | |
tree | 0c2c51ef95fa7f878b12ebd63dd99b0b5f553c48 /kernel | |
parent | 4e0ddfe3dc1d7b8820d782a1bb2c7c74cf80b42d (diff) | |
download | drakx-backup-do-not-use-0f405502f80d07b042513374fc4740040406cc62.tar drakx-backup-do-not-use-0f405502f80d07b042513374fc4740040406cc62.tar.gz drakx-backup-do-not-use-0f405502f80d07b042513374fc4740040406cc62.tar.bz2 drakx-backup-do-not-use-0f405502f80d07b042513374fc4740040406cc62.tar.xz drakx-backup-do-not-use-0f405502f80d07b042513374fc4740040406cc62.zip |
using pixel though for perl (-lne instead of -ln).
Diffstat (limited to 'kernel')
-rwxr-xr-x | kernel/update_kernel | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/update_kernel b/kernel/update_kernel index 7dc35b713..092e77e76 100755 --- a/kernel/update_kernel +++ b/kernel/update_kernel @@ -38,7 +38,7 @@ function create_modules() { [ -e $ALL_KERNELS/.main ] && main=$(cat $ALL_KERNELS/.main) -rpm=$(rpm -qpl /export/Mandrake/RPMS/kernel-BOOT-*.rpm | perl -ne 'm|/boot/vmlinuz-(.*)| and print "$1\n"') +rpm=$(rpm -qpl /export/Mandrake/RPMS/kernel-BOOT-*.rpm | perl -lne 'm|/boot/vmlinuz-(.*)| and print $1') if [ -n "$rpm" -a ! -e $ALL_KERNELS/$rpm ]; then [ -n "$main" ] && rm -rf $ALL_KERNELS/$main cd $ALL_KERNELS |