From 439fd0aaa68c9de747b5abb395b8c5c620c91df7 Mon Sep 17 00:00:00 2001 From: Niels Thykier Date: Thu, 10 May 2018 07:13:59 +0000 Subject: Revert "dh_installman: Handle .so plus target both being compressed" This reverts commit f51eec1ec890eacf624333227505fdb38f4375db. --- dh_installman | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'dh_installman') 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; } } } -- cgit v1.2.3