From: Andy Spencer Date: Mon, 12 Sep 2011 01:33:18 +0000 (+0000) Subject: Don't update icon cache if installing to DESTDIR X-Git-Tag: v0.5.2~1 X-Git-Url: http://pileus.org/git/?p=aweather;a=commitdiff_plain;h=433dfb64fed330303312a12c4738c7e75f4d0f77 Don't update icon cache if installing to DESTDIR --- diff --git a/data/Makefile.am b/data/Makefile.am index f644750..0c451d2 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -30,7 +30,9 @@ icon32_DATA = icons/32x32/aweather.png iconSC_DATA = icons/scalable/aweather.svg install-data-hook: - gtk-update-icon-cache -f -t $(datadir)/icons/hicolor + if test -z "$(DESTDIR)"; then \ + gtk-update-icon-cache -f -t $(datadir)/icons/hicolor; \ + fi endif glade: