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 5BA08138334 for ; Wed, 19 Dec 2018 14:15:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 300D2E0AA6; Wed, 19 Dec 2018 14:15:10 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 0373AE0AA6 for ; Wed, 19 Dec 2018 14:15:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 610EF335C39 for ; Wed, 19 Dec 2018 14:15:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0E5F642F for ; Wed, 19 Dec 2018 14:15:06 +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: <1545228894.03946ad3b56f2fffca48af4823968df36e2b1164.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.12.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: 03946ad3b56f2fffca48af4823968df36e2b1164 X-VCS-Branch: master Date: Wed, 19 Dec 2018 14:15:06 +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: 414beddb-4e87-40b5-bce7-3edc279ed84a X-Archives-Hash: 602d2aa7c2cfe6f5c21fedd871840bf8 commit: 03946ad3b56f2fffca48af4823968df36e2b1164 Author: Andreas Sturmlechner gentoo org> AuthorDate: Wed Dec 19 14:14:54 2018 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Wed Dec 19 14:14:54 2018 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=03946ad3 kde-apps/ark: Improve pkg_postinst RAR support elog Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner gentoo.org> kde-apps/ark/ark-18.12.49.9999.ebuild | 10 +++++----- kde-apps/ark/ark-9999.ebuild | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/kde-apps/ark/ark-18.12.49.9999.ebuild b/kde-apps/ark/ark-18.12.49.9999.ebuild index 8a3c4b2f82..81845b1f99 100644 --- a/kde-apps/ark/ark-18.12.49.9999.ebuild +++ b/kde-apps/ark/ark-18.12.49.9999.ebuild @@ -61,13 +61,13 @@ pkg_postinst() { kde5_pkg_postinst if [[ -z "${REPLACING_VERSIONS}" ]]; then - 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)." + if ! has_version app-arch/rar; then + elog "For creating/extracting rar archives, installing app-arch/rar is required." + if ! has_version app-arch/unar && ! has_version app-arch/unrar; then + elog "Alternatively, for only extracting rar archives, install app-arch/unar (free) or app-arch/unrar (non-free)." + fi fi - has_version app-arch/rar || \ - elog "For creating rar archives, installing app-arch/rar is required." - has_version app-arch/p7zip || \ elog "For handling 7-Zip archives, install app-arch/p7zip." diff --git a/kde-apps/ark/ark-9999.ebuild b/kde-apps/ark/ark-9999.ebuild index 8a3c4b2f82..81845b1f99 100644 --- a/kde-apps/ark/ark-9999.ebuild +++ b/kde-apps/ark/ark-9999.ebuild @@ -61,13 +61,13 @@ pkg_postinst() { kde5_pkg_postinst if [[ -z "${REPLACING_VERSIONS}" ]]; then - 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)." + if ! has_version app-arch/rar; then + elog "For creating/extracting rar archives, installing app-arch/rar is required." + if ! has_version app-arch/unar && ! has_version app-arch/unrar; then + elog "Alternatively, for only extracting rar archives, install app-arch/unar (free) or app-arch/unrar (non-free)." + fi fi - has_version app-arch/rar || \ - elog "For creating rar archives, installing app-arch/rar is required." - has_version app-arch/p7zip || \ elog "For handling 7-Zip archives, install app-arch/p7zip."