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 69E321381F1 for ; Wed, 23 May 2018 14:59:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 50009E08F3; Wed, 23 May 2018 14:59:52 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 10CEAE08F3 for ; Wed, 23 May 2018 14:59:52 +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 8CBBC335C86 for ; Wed, 23 May 2018 14:59:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 435A42B for ; Wed, 23 May 2018 14:59:48 +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: <1527085712.37b8a677234aac131c7cb21781d88b7df48bc6eb.asturm@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: kde-apps/ark/ X-VCS-Repository: proj/kde X-VCS-Files: kde-apps/ark/ark-18.04.49.9999.ebuild kde-apps/ark/ark-9999.ebuild X-VCS-Directories: kde-apps/ark/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 37b8a677234aac131c7cb21781d88b7df48bc6eb X-VCS-Branch: master Date: Wed, 23 May 2018 14:59:48 +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: ebce1190-c24a-465d-926c-c99f6a221d1b X-Archives-Hash: 407d9613ec88f8a6f8424d82159f955f commit: 37b8a677234aac131c7cb21781d88b7df48bc6eb Author: Andreas Sturmlechner gentoo org> AuthorDate: Wed May 23 14:25:11 2018 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Wed May 23 14:28:32 2018 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=37b8a677 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-18.04.49.9999.ebuild | 18 +++++++++--------- kde-apps/ark/ark-9999.ebuild | 18 +++++++++--------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/kde-apps/ark/ark-18.04.49.9999.ebuild b/kde-apps/ark/ark-18.04.49.9999.ebuild index 52543eb04b..b83fdf4b9b 100644 --- a/kde-apps/ark/ark-18.04.49.9999.ebuild +++ b/kde-apps/ark/ark-18.04.49.9999.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-9999.ebuild b/kde-apps/ark/ark-9999.ebuild index 52543eb04b..b83fdf4b9b 100644 --- a/kde-apps/ark/ark-9999.ebuild +++ b/kde-apps/ark/ark-9999.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." }