+debhelper (5.0.20) unstable; urgency=low
+
+ * Minor bug fix from last release.
+
+ -- Joey Hess <joeyh@debian.org> Mon, 23 Jan 2006 20:29:10 -0500
+
debhelper (5.0.19) unstable; urgency=low
* dh_installman: add support for --language option to override man page
# language code to the filename, so detect that and
# redirect to appropriate directory, stripping the code.
($langcode)=$basename=~m/.*\.([a-z][a-z](?:_[A-Z][A-Z])?)\.(?:[1-9]|man)/;
- # Strip the language code from the instname.
- $instname=~s/\.$langcode$//;
+ if (defined $langcode && $langcode ne '') {
+ # Strip the language code from the instname.
+ $instname=~s/\.$langcode$//;
+ }
}
elsif ($dh{LANGUAGE} ne 'C') {
$langcode=$dh{LANGUAGE};