summaryrefslogtreecommitdiff
path: root/dh_installman
diff options
context:
space:
mode:
authorjoey <joey>2003-11-06 23:55:09 +0000
committerjoey <joey>2003-11-06 23:55:09 +0000
commitd2066487dd3bdeb8bfbb8d29d16b3f79537b9962 (patch)
treec5247db6a7bf65f6759786f8a44f224cd226cc6d /dh_installman
parent6a837236274c2aa23f6b3f807c6fea1c48a15c47 (diff)
r1626: * Add the Spanish manpages I missed last time. Closes: #218718
* dh_installman: support compressed man pages when finding .so links. Closes: #218136
Diffstat (limited to 'dh_installman')
-rwxr-xr-xdh_installman7
1 files changed, 6 insertions, 1 deletions
diff --git a/dh_installman b/dh_installman
index 24c5c04..3d03d26 100755
--- a/dh_installman
+++ b/dh_installman
@@ -181,7 +181,12 @@ sub find_so_man {
}
# Test first line of file for the .so thing.
- open (SOTEST,$_) || die "$_: $!";
+ if (/\.gz$/) {
+ open (SOTEST, "zcat $_|") or die "$_: $!";
+ }
+ else {
+ open (SOTEST,$_) || die "$_: $!";
+ }
my $l=<SOTEST>;
close SOTEST;
if ($l=~m/\.so\s+(.*)\s*/) {