summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Lohrke <carlo@gentoo.org>2007-04-19 10:24:56 +0000
committerCarsten Lohrke <carlo@gentoo.org>2007-04-19 10:24:56 +0000
commitbce4c9e332264bc2af6953e53122a7bc960d44b0 (patch)
tree933454d39b94001bbd5ca827f206ba66a765f0d6 /eclass/kde.eclass
parentVersion bump; old (diff)
downloadgentoo-2-bce4c9e332264bc2af6953e53122a7bc960d44b0.tar.gz
gentoo-2-bce4c9e332264bc2af6953e53122a7bc960d44b0.tar.bz2
gentoo-2-bce4c9e332264bc2af6953e53122a7bc960d44b0.zip
Move desktop entry handling to kde-functions.eclass and don't bother about applnk paths.
Diffstat (limited to 'eclass/kde.eclass')
-rw-r--r--eclass/kde.eclass10
1 files changed, 2 insertions, 8 deletions
diff --git a/eclass/kde.eclass b/eclass/kde.eclass
index 4407c878902f..ca47e5a43e38 100644
--- a/eclass/kde.eclass
+++ b/eclass/kde.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.195 2007/04/11 17:56:18 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.196 2007/04/19 10:24:56 carlo Exp $
#
# Author Dan Armak <danarmak@gentoo.org>
#
@@ -446,13 +446,7 @@ slot_rebuild() {
}
kde_pkg_preinst() {
- validate_desktop_entries ${PREFIX}/share/appl{nk,ications}
- if [[ $(find "${D}${PREFIX}/share/applnk" -name '*.desktop' \
- -not -path '*.hidden*' 2>/dev/null | wc -l) != "0" ]]; then
- ewarn "This ebuild is installing .desktop files in the deprecated path"
- ewarn "${PREFIX}/share/applnk/. They will only be visible within KDE."
- echo ""
- fi
+ postprocess_desktop_entries
}
kde_pkg_postinst() {