diff options
Diffstat (limited to 'installman')
-rwxr-xr-x | installman | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/installman b/installman index 79c603593e..c736a9eea4 100755 --- a/installman +++ b/installman @@ -91,6 +91,11 @@ while (<UTILS>) { my $new = "$opts{man1dir}/$what2.$opts{man1ext}"; unlink($new); link($old, $new); + my $xold = $old; + $xold =~ s/^\Q$opts{'destdir'}\E// if $opts{'destdir'}; + my $xnew = $new; + $xnew =~ s/^\Q$opts{'destdir'}\E// if $opts{'destdir'}; + $packlist->{$xnew} = { from => $xold, type => 'link' }; } } } |