summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-05-23 16:25:49 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-05-23 16:59:28 +0200
commitfbe0dd176782e4304cbb10b5a5d853a72f590ddf (patch)
treebe0babafb1b5986e2d6931457763dd5d3b46d031 /kde-apps/ark
parentmail-client/mutt: version bump to 1.10.0 (diff)
downloadgentoo-fbe0dd176782e4304cbb10b5a5d853a72f590ddf.tar.gz
gentoo-fbe0dd176782e4304cbb10b5a5d853a72f590ddf.tar.bz2
gentoo-fbe0dd176782e4304cbb10b5a5d853a72f590ddf.zip
kde-apps/ark: Improve rar archive postinst info
Bug: https://bugs.gentoo.org/650268 Package-Manager: Portage-2.3.38, Repoman-2.3.9
Diffstat (limited to 'kde-apps/ark')
-rw-r--r--kde-apps/ark/ark-17.12.3.ebuild18
-rw-r--r--kde-apps/ark/ark-18.04.1.ebuild18
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 e749e2732df5..cdcdabb24632 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 eb5ba8737873..7a5bb558b1c2 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."
}