summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kde-plasma/kdeplasma-addons/kdeplasma-addons-9999.ebuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/kde-plasma/kdeplasma-addons/kdeplasma-addons-9999.ebuild b/kde-plasma/kdeplasma-addons/kdeplasma-addons-9999.ebuild
index d2e7d698851..e63f9bbe338 100644
--- a/kde-plasma/kdeplasma-addons/kdeplasma-addons-9999.ebuild
+++ b/kde-plasma/kdeplasma-addons/kdeplasma-addons-9999.ebuild
@@ -8,7 +8,7 @@ KFMIN=9999
PVCUT=$(ver_cut 1-3)
QTMIN=5.15.0
VIRTUALX_REQUIRED="test"
-inherit ecm kde.org
+inherit ecm kde.org optfeature
DESCRIPTION="Extra Plasma applets and engines"
@@ -67,10 +67,9 @@ src_configure() {
}
pkg_postinst() {
- ecm_pkg_postinst
-
if [[ -z "${REPLACING_VERSIONS}" ]]; then
- has_version sys-fs/quota || \
- elog "For using disk quota applet, install sys-fs/quota."
+ elog "Optional dependencies:"
+ optfeature "Disk quota applet" sys-fs/quota
fi
+ ecm_pkg_postinst
}