diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-05-15 07:51:54 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-05-15 07:51:54 +0000 |
commit | af039e501986cc05461a3f1834dfe0310a264f3b (patch) | |
tree | d0751dd8493db872dccecd9f474fbada1821efc3 | |
parent | feb100ee749fb38296f05ba97217d16be0655f7b (diff) | |
download | drakx-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-x | perl-install/standalone/bootloader-config | 3 |
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; } |