diff options
author | joey <joey> | 2003-11-06 23:55:09 +0000 |
---|---|---|
committer | joey <joey> | 2003-11-06 23:55:09 +0000 |
commit | d2066487dd3bdeb8bfbb8d29d16b3f79537b9962 (patch) | |
tree | c5247db6a7bf65f6759786f8a44f224cd226cc6d /dh_installman | |
parent | 6a837236274c2aa23f6b3f807c6fea1c48a15c47 (diff) | |
download | debhelper-d2066487dd3bdeb8bfbb8d29d16b3f79537b9962.tar.gz |
r1626: * Add the Spanish manpages I missed last time. Closes: #218718version_4.1.80
* dh_installman: support compressed man pages when finding .so links.
Closes: #218136
Diffstat (limited to 'dh_installman')
-rwxr-xr-x | dh_installman | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/dh_installman b/dh_installman index 24c5c041..3d03d264 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*/) { |