[accerciser] Update gtk icon cache after uninstall
- From: Javier HernÃndez AntÃnez <jhernandez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [accerciser] Update gtk icon cache after uninstall
- Date: Mon, 6 Aug 2012 23:46:54 +0000 (UTC)
commit e4be1381201b2fb416b668b2a21860e4d484e1fd
Author: Javier HernÃndez <jhernandez emergya com>
Date: Tue Aug 7 01:46:11 2012 +0200
Update gtk icon cache after uninstall
icons/Makefile.am | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/icons/Makefile.am b/icons/Makefile.am
index dc74510..4b1f585 100644
--- a/icons/Makefile.am
+++ b/icons/Makefile.am
@@ -26,6 +26,13 @@ uninstall-hook:
rm -f $(DESTDIR)$(hicolordir)/22x22/apps/accerciser.png
rm -f $(DESTDIR)$(hicolordir)/32x32/apps/accerciser.png
rm -f $(DESTDIR)$(hicolordir)/48x48/apps/accerciser.png
+ @-if test -z "$(DESTDIR)"; then \
+ echo "Updating Gtk icon cache."; \
+ $(gtk_update_icon_cache); \
+ else \
+ echo "*** Icon cache not updated. After uninstall, run this:"; \
+ echo "*** $(gtk_update_icon_cache)"; \
+ fi
gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
install-data-hook:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]