diff options
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/install_steps.pm | 2 |
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"}; |