diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2022-03-29 12:06:46 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2022-03-29 12:19:12 -0400 |
commit | facc002a10724a0e31e298ccad90a3a3797f566a (patch) | |
tree | c288c3d037569e917cd90df81c0b858466300d5f /sys-apps | |
parent | kde-plasma/xembed-sni-proxy: drop 5.24.3* (diff) | |
download | gentoo-facc002a10724a0e31e298ccad90a3a3797f566a.tar.gz gentoo-facc002a10724a0e31e298ccad90a3a3797f566a.tar.bz2 gentoo-facc002a10724a0e31e298ccad90a3a3797f566a.zip |
sys-apps/sysvinit: fix build by skipping missing man pages
Don't want to leave this broken for too long, nor do Revert Revert,
so quickfixing myself.
Unsure if ideal given several man pages are missing (perhaps
man-pages-l10n was better).
Bug: https://bugs.gentoo.org/836353
Closes: https://bugs.gentoo.org/836371
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/sysvinit/sysvinit-3.02-r3.ebuild | 7 |
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 |