Commit b308a7d3 authored by Andy Whitcroft's avatar Andy Whitcroft Committed by Tim Gardner

UBUNTU: [Debian] postinst -- fix unchanged link detection

http://bugs.launchpad.net/bugs/1248053Signed-off-by: default avatarAndy Whitcroft <apw@canonical.com>
parent de38521e
......@@ -421,7 +421,7 @@ sub move_p {
if $DEBUG;
my $vmlinuz_target = readlink "$kimage";
my $real_target = '';
my $target = `readlink -q -m "${realimageloc}${kimage-$version}"`;
my $target = `readlink -q -m "${realimageloc}${kimage}-${version}"`;
$real_target = abs_path($vmlinuz_target) if defined($vmlinuz_target);
if (!defined($vmlinuz_target) || ! -f "$real_target") {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment