diff options
author | Joey Hess <joey@kitenet.net> | 2011-08-29 20:20:08 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-08-29 20:20:54 -0400 |
commit | 1807e38fba8fb4e0328df543fe35414f75b1f0c2 (patch) | |
tree | 9ba70b7d8a2aa3fb9af09478925343f8a045baf1 /dh_installman | |
parent | 64fdd3ae1e433ccffa26152a25cc22c878e33445 (diff) |
debhelper no longer build-depends on man-db, to ease bootstrapping.
The man page recode is not necessary as the man pages are utf-8 already.
Diffstat (limited to 'dh_installman')
-rwxr-xr-x | dh_installman | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dh_installman b/dh_installman index fb7c8eb4..e1182815 100755 --- a/dh_installman +++ b/dh_installman @@ -197,8 +197,9 @@ foreach my $package (@{$dh{DOPACKAGES}}) { } # Now utf-8 conversion. - foreach my $dir (qw{usr/share/man}) { - if (-e "$tmp/$dir") { + if (defined `man --version`) { + foreach my $dir (qw{usr/share/man}) { + next unless -e "$tmp/$dir"; find(sub { return if ! -f $_ || -l $_; my ($tmp, $orig)=($_.".new", $_); |