summaryrefslogtreecommitdiff
path: root/kde-apps/dolphin/dolphin-9999.ebuild
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-01-21 07:08:29 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-01-26 21:28:43 +0100
commita045dfdd144e285fc02ef8ca9f39a263dd786d7a (patch)
tree9ba3fa055201217c1cdcabc1e22c51839d917d87 /kde-apps/dolphin/dolphin-9999.ebuild
parentbf527842844737a71d0ec1399d026c12fa347b4a (diff)
downloadkde-a045dfdd144e285fc02ef8ca9f39a263dd786d7a.tar.gz
kde-a045dfdd144e285fc02ef8ca9f39a263dd786d7a.tar.bz2
kde-a045dfdd144e285fc02ef8ca9f39a263dd786d7a.zip
kde-apps: EAPI-7 bump
Package-Manager: Portage-2.3.56, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/dolphin/dolphin-9999.ebuild')
-rw-r--r--kde-apps/dolphin/dolphin-9999.ebuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/kde-apps/dolphin/dolphin-9999.ebuild b/kde-apps/dolphin/dolphin-9999.ebuild
index 0ae289fa9b7..51e9f79ae94 100644
--- a/kde-apps/dolphin/dolphin-9999.ebuild
+++ b/kde-apps/dolphin/dolphin-9999.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
KDE_HANDBOOK="forceoptional"
KDE_TEST="true"
@@ -72,11 +72,11 @@ src_configure() {
pkg_postinst() {
kde5_pkg_postinst
- if ! has_version "kde-apps/ark:${SLOT}" ; then
- elog "For compress/extract and other actions, please install kde-apps/ark:${SLOT}"
- fi
+ if [[ -z "${REPLACING_VERSIONS}" ]]; then
+ has_version "kde-apps/ark:${SLOT}" || \
+ elog "For compress/extract and other actions install kde-apps/ark:${SLOT}"
- if ! has_version "kde-apps/kleopatra:${SLOT}" ; then
- elog "For crypto actions, please install kde-apps/kleopatra:${SLOT}"
+ has_version "kde-apps/kleopatra:${SLOT}" || \
+ elog "For crypto actions install kde-apps/kleopatra:${SLOT}"
fi
}