summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2007-01-21 01:08:12 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2007-01-21 01:08:12 +0000
commitc95bde4263229df31db2013a0ac625025b1a8150 (patch)
tree0b137176e2af667208ad16acce3db7e4fcc59243 /eclass
parentVersion bump + ebuild improvements (diff)
downloadgentoo-2-c95bde4263229df31db2013a0ac625025b1a8150.tar.gz
gentoo-2-c95bde4263229df31db2013a0ac625025b1a8150.tar.bz2
gentoo-2-c95bde4263229df31db2013a0ac625025b1a8150.zip
Ignore the .hidden directory, that is still used actively.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kde.eclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/kde.eclass b/eclass/kde.eclass
index d5a670cd5800..cd48a2460e1e 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.189 2007/01/19 20:57:00 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.190 2007/01/21 01:08:12 flameeyes Exp $
#
# Author Dan Armak <danarmak@gentoo.org>
#
@@ -446,7 +446,8 @@ slot_rebuild() {
}
kde_pkg_preinst() {
- if [[ $(find "${D}/${PREFIX}/share/applnk" -name '*.desktop' 2>/dev/null | wc -l) != "0" ]]; then
+ if [[ $(find "${D}/${PREFIX}/share/applnk" -name '*.desktop' \
+ -not -path '*.hidden*' 2>/dev/null | wc -l) != "0" ]]; then
ewarn "KDE Team warning: this package (${PF}) is installing"
ewarn " .desktop files in the obsolete applnk path:"
ewarn " ${PREFIX}/share/applnk. It won't be shown on non-KDE"