summaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-04-11 19:12:42 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-04-11 19:12:42 +0800
commit97aad7711cd2505f4b0313a5cddca9d2215697b1 (patch)
tree696a282f8b35dc79934e9ce56b3f283782f7395a /Mk
parent8256b3115d069350099646c7ebc8ff74b444d1ed (diff)
downloadmarcuscom-ports-97aad7711cd2505f4b0313a5cddca9d2215697b1.tar
marcuscom-ports-97aad7711cd2505f4b0313a5cddca9d2215697b1.tar.gz
marcuscom-ports-97aad7711cd2505f4b0313a5cddca9d2215697b1.tar.bz2
marcuscom-ports-97aad7711cd2505f4b0313a5cddca9d2215697b1.tar.lz
marcuscom-ports-97aad7711cd2505f4b0313a5cddca9d2215697b1.tar.xz
marcuscom-ports-97aad7711cd2505f4b0313a5cddca9d2215697b1.tar.zst
marcuscom-ports-97aad7711cd2505f4b0313a5cddca9d2215697b1.zip
The icon-theme.cache file is a FILE, not a directory, so we cannot use
@dirrmtry. Reported by: Chen, Lihong <lihong.chen@gmail.com> git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6051 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.gnome.mk4
1 files changed, 2 insertions, 2 deletions
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}; \