From 4019ef32f9b9b63f729fd25796d53a94d5386bdc Mon Sep 17 00:00:00 2001 From: marcus Date: Mon, 19 Sep 2005 04:07:42 +0000 Subject: Always force an update of the icon cache. This may fix problems with icons mysteriously disappearing. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4849 df743ca5-7f9a-e211-a948-0013205c9059 --- x11-toolkits/gtk20/Makefile | 4 ++-- x11-toolkits/gtk20/pkg-plist | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'x11-toolkits') diff --git a/x11-toolkits/gtk20/Makefile b/x11-toolkits/gtk20/Makefile index 7419c4095..f38f94c16 100644 --- a/x11-toolkits/gtk20/Makefile +++ b/x11-toolkits/gtk20/Makefile @@ -3,7 +3,7 @@ # Whom: Vanilla I. Shu # # $FreeBSD$ -# $MCom: ports/x11-toolkits/gtk20/Makefile,v 1.73 2005/09/10 14:40:01 jylefort Exp $ +# $MCom: ports/x11-toolkits/gtk20/Makefile,v 1.74 2005/09/13 14:22:35 bland Exp $ # PORTNAME= gtk @@ -118,7 +118,7 @@ pre-build: post-install: -@${FIND} ${PREFIX}/share/icons -type d -depth 1 -exec \ - ${PREFIX}/bin/gtk-update-icon-cache -q {} \; 2>/dev/null + ${PREFIX}/bin/gtk-update-icon-cache -q -f {} \; 2>/dev/null @${MKDIR} ${PREFIX}/lib/gtk-2.0/modules @${MKDIR} ${PREFIX}/lib/gtk-2.0/${GTK_VERSION}/engines diff --git a/x11-toolkits/gtk20/pkg-plist b/x11-toolkits/gtk20/pkg-plist index 3203a8557..9eb174052 100644 --- a/x11-toolkits/gtk20/pkg-plist +++ b/x11-toolkits/gtk20/pkg-plist @@ -477,7 +477,7 @@ share/locale/zh_TW/LC_MESSAGES/gtk20.mo share/themes/Default/gtk-2.0-key/gtkrc share/themes/Emacs/gtk-2.0-key/gtkrc share/themes/Raleigh/gtk-2.0/gtkrc -@exec /usr/bin/find %D/share/icons -type d -depth 1 -exec %D/bin/gtk-update-icon-cache -q {} \; 2>/dev/null || /usr/bin/true +@exec /usr/bin/find %D/share/icons -type d -depth 1 -exec %D/bin/gtk-update-icon-cache -q -f {} \; 2>/dev/null || /usr/bin/true @unexec /usr/bin/find %D/share/icons -type f -depth 2 -name icon-theme.cache -delete 2>/dev/null || /usr/bin/true @dirrm share/themes/Raleigh/gtk-2.0 @dirrm share/themes/Raleigh -- cgit v1.2.3