From: Diego Elio Pettenò Date: Sun, 21 Jan 2007 01:08:12 +0000 (+0000) Subject: Ignore the .hidden directory, that is still used actively. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bde3456b717ef492cd3b63e46c0be0ed48761302;p=gentoo.git Ignore the .hidden directory, that is still used actively. --- 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 # @@ -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"