diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2007-01-21 01:08:12 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2007-01-21 01:08:12 +0000 |
commit | bde3456b717ef492cd3b63e46c0be0ed48761302 (patch) | |
tree | 4839c5527eb90355fec864623be7cd866b0db994 /eclass | |
parent | Version bump + ebuild improvements (diff) | |
download | historical-bde3456b717ef492cd3b63e46c0be0ed48761302.tar.gz historical-bde3456b717ef492cd3b63e46c0be0ed48761302.tar.bz2 historical-bde3456b717ef492cd3b63e46c0be0ed48761302.zip |
Ignore the .hidden directory, that is still used actively.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/kde.eclass | 5 |
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" |