diff options
author | Niels Thykier <niels@thykier.net> | 2018-05-10 07:13:59 +0000 |
---|---|---|
committer | Niels Thykier <niels@thykier.net> | 2018-05-10 07:13:59 +0000 |
commit | 439fd0aaa68c9de747b5abb395b8c5c620c91df7 (patch) | |
tree | 4969f6bf418f59950975bbe63d2bd0b952969772 /dh_installman | |
parent | f51eec1ec890eacf624333227505fdb38f4375db (diff) | |
download | debhelper-439fd0aaa68c9de747b5abb395b8c5c620c91df7.tar.gz |
Revert "dh_installman: Handle .so plus target both being compressed"
This reverts commit f51eec1ec890eacf624333227505fdb38f4375db.
Diffstat (limited to 'dh_installman')
-rwxr-xr-x | dh_installman | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/dh_installman b/dh_installman index 27507425..6879abac 100755 --- a/dh_installman +++ b/dh_installman @@ -351,17 +351,10 @@ sub find_so_man { elsif ($solink =~ m!/!) { $solink="../$solink"; } - my $target; - if ( -e $solink) { - $target = $solink; - } elsif (-e "${solink}.gz") { - $target = "${solink}.gz"; - } - - if (defined($target)) { - push(@sofiles,"$File::Find::dir/$_"); - push(@sodests, $target); + if (-e $solink || -e "$solink.gz") { + push @sofiles,"$File::Find::dir/$_"; + push @sodests,$solink; } } } |