summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/sysvinit/sysvinit-3.02-r3.ebuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys-apps/sysvinit/sysvinit-3.02-r3.ebuild b/sys-apps/sysvinit/sysvinit-3.02-r3.ebuild
index 2310e55f9f0a..19908235ef90 100644
--- a/sys-apps/sysvinit/sysvinit-3.02-r3.ebuild
+++ b/sys-apps/sysvinit/sysvinit-3.02-r3.ebuild
@@ -142,9 +142,10 @@ src_install() {
if use nls && [[ -n "$(plocale_get_locales)" ]] ; then
install_locale_man_pages() {
- local locale=${1}
-
- doman -i18n=${locale} man/po/${locale}/*
+ local man=( man/po/${1}/* )
+ if [[ -e ${man[0]} ]]; then #836353,836371
+ doman -i18n=${1} "${man[@]}"
+ fi
}
plocale_for_each_locale install_locale_man_pages