summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-08-11 13:50:16 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-08-11 13:50:16 +0000
commit4b27f7dab309095d9e001b4a2ea960051169bcd1 (patch)
tree37251ed6d52c2ead893619871fd274cb022d5dfa /perl-install/bootloader.pm
parent52acde1b1fdb9c845cfa2162cdad4086af137930 (diff)
downloaddrakx-backup-do-not-use-4b27f7dab309095d9e001b4a2ea960051169bcd1.tar
drakx-backup-do-not-use-4b27f7dab309095d9e001b4a2ea960051169bcd1.tar.gz
drakx-backup-do-not-use-4b27f7dab309095d9e001b4a2ea960051169bcd1.tar.bz2
drakx-backup-do-not-use-4b27f7dab309095d9e001b4a2ea960051169bcd1.tar.xz
drakx-backup-do-not-use-4b27f7dab309095d9e001b4a2ea960051169bcd1.zip
perl_checker compliance
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r--perl-install/bootloader.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index 9902a382a..559458d27 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -276,7 +276,7 @@ sub add_kernel {
symlinkf("initrd-$version.img", "$::prefix$initrd") or cp_af("$::prefix/boot/initrd-$version.img", "$::prefix$initrd");
}
- my $label = $ext =~ /-(default)/ ? $1 : ($ext =~ /\d\./ && sanitize_ver("linux-$version") || "linux$ext");
+ my $label = $ext =~ /-(default)/ ? $1 : $ext =~ /\d\./ && sanitize_ver("linux-$version") || "linux$ext";
#- more yaboot concessions - PPC
if (arch() =~ /ppc/) {