From 97aad7711cd2505f4b0313a5cddca9d2215697b1 Mon Sep 17 00:00:00 2001 From: marcus Date: Tue, 11 Apr 2006 11:12:42 +0000 Subject: The icon-theme.cache file is a FILE, not a directory, so we cannot use @dirrmtry. Reported by: Chen, Lihong git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6051 df743ca5-7f9a-e211-a948-0013205c9059 --- Mk/bsd.gnome.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Mk') diff --git a/Mk/bsd.gnome.mk b/Mk/bsd.gnome.mk index 1189fc91d..d07e7f614 100644 --- a/Mk/bsd.gnome.mk +++ b/Mk/bsd.gnome.mk @@ -3,7 +3,7 @@ # # $FreeBSD$ # $NetBSD: $ -# $MCom: ports/Mk/bsd.gnome.mk,v 1.367 2006/04/10 21:40:04 mezz Exp $ +# $MCom: ports/Mk/bsd.gnome.mk,v 1.368 2006/04/10 21:51:49 mezz Exp $ # # Please view me with 4 column tabs! @@ -761,7 +761,7 @@ gnome-post-install: . if defined(INSTALLS_ICONS) @${RM} -f ${TMPPLIST}.icons1 @for i in `${GREP} "^share/icons/.*/" ${TMPPLIST} | ${CUT} -d / -f 1-3 | ${SORT} -u`; do \ - ${ECHO_CMD} "@dirrmtry $${i}/icon-theme.cache" \ + ${ECHO_CMD} "@unexec /bin/rm %D/$${i}/icon-theme.cache 2>/dev/null || /usr/bin/true" \ >> ${TMPPLIST}.icons1; \ ${ECHO_CMD} "@exec ${X11BASE}/bin/gtk-update-icon-cache -q -f %D/$${i} 2>/dev/null || /usr/bin/true" \ >> ${TMPPLIST}; \ -- cgit v1.2.3