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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E883E1381F1 for ; Wed, 23 May 2018 14:59:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 07A3FE08EB; Wed, 23 May 2018 14:59:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BB6DEE08EB for ; Wed, 23 May 2018 14:59:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 18A81335C36 for ; Wed, 23 May 2018 14:59:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 68BBF2B for ; Wed, 23 May 2018 14:59:41 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1527087568.fbe0dd176782e4304cbb10b5a5d853a72f590ddf.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: kde-apps/ark/ X-VCS-Repository: repo/gentoo X-VCS-Files: kde-apps/ark/ark-17.12.3.ebuild kde-apps/ark/ark-18.04.1.ebuild X-VCS-Directories: kde-apps/ark/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: fbe0dd176782e4304cbb10b5a5d853a72f590ddf X-VCS-Branch: master Date: Wed, 23 May 2018 14:59:41 +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-Archives-Salt: 60e22f3d-c336-479c-a6bd-1832f487ff0b X-Archives-Hash: 4a0767f193d7017b66b7dd288f7b7d3b commit: fbe0dd176782e4304cbb10b5a5d853a72f590ddf Author: Andreas Sturmlechner gentoo org> AuthorDate: Wed May 23 14:25:49 2018 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Wed May 23 14:59:28 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbe0dd17 kde-apps/ark: Improve rar archive postinst info Bug: https://bugs.gentoo.org/650268 Package-Manager: Portage-2.3.38, Repoman-2.3.9 kde-apps/ark/ark-17.12.3.ebuild | 18 +++++++++--------- kde-apps/ark/ark-18.04.1.ebuild | 18 +++++++++--------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/kde-apps/ark/ark-17.12.3.ebuild b/kde-apps/ark/ark-17.12.3.ebuild index e749e2732df..cdcdabb2463 100644 --- a/kde-apps/ark/ark-17.12.3.ebuild +++ b/kde-apps/ark/ark-17.12.3.ebuild @@ -60,16 +60,16 @@ src_configure() { pkg_postinst() { kde5_pkg_postinst - # not a typo, app-arch/unar is a real package - if ! has_version app-arch/unar ; then - elog "For handling rar archives, install app-arch/unar" + if ! has_version app-arch/unar && ! has_version app-arch/unrar; then + elog "For extracting rar archives, install app-arch/unar (free) or app-arch/unrar (non-free)." fi - if ! has_version app-arch/p7zip ; then - elog "For handling 7-Zip archives, install app-arch/p7zip" - fi + has_version app-arch/rar || \ + elog "For creating rar archives, installing app-arch/rar is required." - if ! has_version app-arch/lrzip ; then - elog "For handling lrz archives, install app-arch/lrzip" - fi + has_version app-arch/p7zip || \ + elog "For handling 7-Zip archives, install app-arch/p7zip." + + has_version app-arch/lrzip || \ + elog "For handling lrz archives, install app-arch/lrzip." } diff --git a/kde-apps/ark/ark-18.04.1.ebuild b/kde-apps/ark/ark-18.04.1.ebuild index eb5ba873787..7a5bb558b1c 100644 --- a/kde-apps/ark/ark-18.04.1.ebuild +++ b/kde-apps/ark/ark-18.04.1.ebuild @@ -60,16 +60,16 @@ src_configure() { pkg_postinst() { kde5_pkg_postinst - # not a typo, app-arch/unar is a real package - if ! has_version app-arch/unar ; then - elog "For handling rar archives, install app-arch/unar" + if ! has_version app-arch/unar && ! has_version app-arch/unrar; then + elog "For extracting rar archives, install app-arch/unar (free) or app-arch/unrar (non-free)." fi - if ! has_version app-arch/p7zip ; then - elog "For handling 7-Zip archives, install app-arch/p7zip" - fi + has_version app-arch/rar || \ + elog "For creating rar archives, installing app-arch/rar is required." - if ! has_version app-arch/lrzip ; then - elog "For handling lrz archives, install app-arch/lrzip" - fi + has_version app-arch/p7zip || \ + elog "For handling 7-Zip archives, install app-arch/p7zip." + + has_version app-arch/lrzip || \ + elog "For handling lrz archives, install app-arch/lrzip." }