summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorOlivier Blin <blino@mageia.org>2012-01-15 20:51:21 +0000
committerOlivier Blin <blino@mageia.org>2012-01-15 20:51:21 +0000
commit2b2d7f345a725d747a3e1526aeef933adbfc243a (patch)
treebb1eeea05f1647c8487752c4521f134eacb0814f /lib
parent19099d31828e77376dfc3cae7456ae051e21e134 (diff)
downloaddraklive-2b2d7f345a725d747a3e1526aeef933adbfc243a.tar
draklive-2b2d7f345a725d747a3e1526aeef933adbfc243a.tar.gz
draklive-2b2d7f345a725d747a3e1526aeef933adbfc243a.tar.bz2
draklive-2b2d7f345a725d747a3e1526aeef933adbfc243a.tar.xz
draklive-2b2d7f345a725d747a3e1526aeef933adbfc243a.zip
fix removing previous initrd
Diffstat (limited to 'lib')
-rw-r--r--lib/MDV/Draklive/Initrd.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MDV/Draklive/Initrd.pm b/lib/MDV/Draklive/Initrd.pm
index 5de6c51..adeea0a 100644
--- a/lib/MDV/Draklive/Initrd.pm
+++ b/lib/MDV/Draklive/Initrd.pm
@@ -301,7 +301,7 @@ sub create_classical_initrd {
my $kernel = $live->find_kernel;
print "using kernel $kernel->{version}\n";
- my $initrd_long = '/boot/initrd-'. $kernel . '.img';
+ my $initrd_long = '/boot/initrd-'. $kernel->{version} . '.img';
unlink($root . $initrd_long);
{