From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BAD1215808B for ; Tue, 29 Mar 2022 17:13:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F24BCE07F9; Tue, 29 Mar 2022 17:13:53 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 521C5E07F9 for ; Tue, 29 Mar 2022 17:13:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0CEAF3414D0 for ; Tue, 29 Mar 2022 17:13:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 207F7AF for ; Tue, 29 Mar 2022 17:13:50 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1648573956.3e44d897a842d588fb9a8ff755ef294ac4e21fcc.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/sysvinit/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/sysvinit/sysvinit-3.02-r3.ebuild X-VCS-Directories: sys-apps/sysvinit/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 3e44d897a842d588fb9a8ff755ef294ac4e21fcc X-VCS-Branch: master Date: Tue, 29 Mar 2022 17:13:50 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 20f4e30b-9832-407d-9e02-aed862b46a89 X-Archives-Hash: add6e8a3a47179037234411ac7a76537 commit: 3e44d897a842d588fb9a8ff755ef294ac4e21fcc Author: Ulrich Müller gentoo org> AuthorDate: Tue Mar 29 17:10:06 2022 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Tue Mar 29 17:12:36 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e44d897 sys-apps/sysvinit: Drop empty locales from PLOCALES Signed-off-by: Ulrich Müller gentoo.org> sys-apps/sysvinit/sysvinit-3.02-r3.ebuild | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/sys-apps/sysvinit/sysvinit-3.02-r3.ebuild b/sys-apps/sysvinit/sysvinit-3.02-r3.ebuild index 19908235ef90..a1c99e551867 100644 --- a/sys-apps/sysvinit/sysvinit-3.02-r3.ebuild +++ b/sys-apps/sysvinit/sysvinit-3.02-r3.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PLOCALES="de es fi fr hu id pl" +PLOCALES="de es fr pl" VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/sysvinit.asc inherit toolchain-funcs flag-o-matic plocale verify-sig @@ -142,10 +142,7 @@ src_install() { if use nls && [[ -n "$(plocale_get_locales)" ]] ; then install_locale_man_pages() { - local man=( man/po/${1}/* ) - if [[ -e ${man[0]} ]]; then #836353,836371 - doman -i18n=${1} "${man[@]}" - fi + doman -i18n=${1} man/po/${1}/* } plocale_for_each_locale install_locale_man_pages