summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-10-20 16:51:36 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-10-20 16:51:36 +0000
commit7024ecc1cdd875190b20cb0e7c86a0f6b314bdc3 (patch)
treeba0a74d3262cdb0fe2ea9a4bcd2fc29ac0749379 /perl-install/install_steps.pm
parent48db6a78efd91232719f0a9f37dc9a9b607ca1c4 (diff)
downloaddrakx-backup-do-not-use-7024ecc1cdd875190b20cb0e7c86a0f6b314bdc3.tar
drakx-backup-do-not-use-7024ecc1cdd875190b20cb0e7c86a0f6b314bdc3.tar.gz
drakx-backup-do-not-use-7024ecc1cdd875190b20cb0e7c86a0f6b314bdc3.tar.bz2
drakx-backup-do-not-use-7024ecc1cdd875190b20cb0e7c86a0f6b314bdc3.tar.xz
drakx-backup-do-not-use-7024ecc1cdd875190b20cb0e7c86a0f6b314bdc3.zip
*** empty log message ***
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r--perl-install/install_steps.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index 99d3fad49..5cdadcfee 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -352,7 +352,7 @@ sub readBootloaderConfigBeforeInstall {
if ($o->{bootloader}{entries}{"/boot/$image"} && $o->{packages}{$ofpkgs{$image}}{selected}) {
$v = readlink "$o->{prefix}/boot/$image";
if ($v) {
- $v = "/boot/$v" if $v !~ m@/@;
+ $v = "/boot/$v" if $v !~ m|^/|;
if (-e "$o->{prefix}$v") {
$o->{bootloader}{entries}{$v} = $o->{bootloader}{entries}{"/boot/$image"};
delete $o->{bootloader}{entries}{"/boot/$image"};