From bde3456b717ef492cd3b63e46c0be0ed48761302 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Diego=20Elio=20Petten=C3=B2?= Date: Sun, 21 Jan 2007 01:08:12 +0000 Subject: [PATCH] Ignore the .hidden directory, that is still used actively. --- eclass/kde.eclass | 5 +++-- 1 file 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 # @@ -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" -- 2.26.2