mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
dev-util/dput-ng: simplify the manpage installation logic
doman performs auto language detection based on the file name. This causes problems with the 'dput.cf.5' man file since 'cf' is not a language code. Set i18n to an empty string explicitly to disable autodetection. Package-Manager: portage-2.2.28 Closes: https://github.com/gentoo/gentoo/pull/1510 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
This commit is contained in:
committed by
Patrice Clement
parent
5b0391abb9
commit
4e112f7afa
@@ -72,13 +72,8 @@ src_install() {
|
||||
doins -r skel/"${dir}"
|
||||
done
|
||||
|
||||
insinto /usr/share/man/man5
|
||||
doins man/dput.cf.5
|
||||
rm man/dput.cf.5 || die
|
||||
|
||||
for file in man/*; do
|
||||
doman "${file}"
|
||||
done
|
||||
# doman incorrectly treats "cf" in dput.cf.5 as a lang code
|
||||
doman -i18n="" man/*
|
||||
|
||||
newbashcomp debian/"${PN}".bash-completion dput
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user