summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-apps/ark/ark-17.12.3.ebuild')
-rw-r--r--kde-apps/ark/ark-17.12.3.ebuild18
1 files changed, 9 insertions, 9 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."
}