summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-05-15 07:51:54 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-05-15 07:51:54 +0000
commitaf039e501986cc05461a3f1834dfe0310a264f3b (patch)
treed0751dd8493db872dccecd9f474fbada1821efc3
parentfeb100ee749fb38296f05ba97217d16be0655f7b (diff)
downloaddrakx-backup-do-not-use-af039e501986cc05461a3f1834dfe0310a264f3b.tar
drakx-backup-do-not-use-af039e501986cc05461a3f1834dfe0310a264f3b.tar.gz
drakx-backup-do-not-use-af039e501986cc05461a3f1834dfe0310a264f3b.tar.bz2
drakx-backup-do-not-use-af039e501986cc05461a3f1834dfe0310a264f3b.tar.xz
drakx-backup-do-not-use-af039e501986cc05461a3f1834dfe0310a264f3b.zip
small fix on previous commit
-rwxr-xr-xperl-install/standalone/bootloader-config3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/standalone/bootloader-config b/perl-install/standalone/bootloader-config
index 4010b1c73..f9b796fc9 100755
--- a/perl-install/standalone/bootloader-config
+++ b/perl-install/standalone/bootloader-config
@@ -90,7 +90,8 @@ sub remove_kernel() {
if (!$bootloader) {
#- removing the initrd for weird configs where no mdv bootloader is configured
my $kernel_str = bootloader::vmlinuz2kernel_str($image) or die "bad kernel name $image\n";
- unlink bootloader::kernel_str2initrd_long($kernel_str);
+ my $initrd_long = bootloader::kernel_str2initrd_long($kernel_str);
+ unlink "/boot/$initrd_long";
return;
}