File 0001-install-data-hook-fix-by-Yanko-Kaneti-yaneti-declera.patch of Package mingw32-gnome-icon-theme
From 42eebad136bb495ed11dadd5c67e016b984be48a Mon Sep 17 00:00:00 2001
From: "Arnel A. Borja" <kyoushuu@yahoo.com>
Date: Mon, 20 May 2013 09:00:12 +0800
Subject: [PATCH] install-data-hook fix by Yanko Kaneti <yaneti@declera.com>
---
Makefile.am | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index 0c5a3c6..6e7bb1d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -81,7 +81,9 @@ install-data-local:
fi
install-data-hook:
- $(GTK_UPDATE_ICON_CACHE) -q $(DESTDIR)$(themedir)
+ if test -z "$(DESTDIR)" ; then \
+ $(GTK_UPDATE_ICON_CACHE) -q $(DESTDIR)$(themedir); \
+ fi
uninstall-hook:
@rm -f $(DESTDIR)$(themedir)/icon-theme.cache
--
1.8.1.4