[gnome-music/wip/gbsneto/flatpak: 1/4] icons: Correctly update the cache
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/gbsneto/flatpak: 1/4] icons: Correctly update the cache
- Date: Fri, 2 Dec 2016 00:59:30 +0000 (UTC)
commit 7bb60eda0684bf6aac0504d1c93fc00305ac400c
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Thu Dec 1 22:54:48 2016 -0200
icons: Correctly update the cache
Looks like we don't define the correct command, nor
execute it the correct way.
Fix it by setting the gtk-update-icon-cache var and
running it with the correct arguments.
data/Makefile.am | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index b1c9c88..10eda57 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -40,15 +40,17 @@ hicolor_icon_files = \
$(hicolor_iconsymbolic_DATA) \
icons/hicolor/gnome-music.svg
+gtk_update_icon_cache = gtk-update-icon-cache -f -t
+
install-data-hook: update-icon-cache
uninstall-hook: update-icon-cache
update-icon-cache:
@-if test -z "$(DESTDIR)"; then \
echo "Updating Gtk hicolor icon cache."; \
- $(gtk_update_hicolor_icon_cache); \
+ $(gtk_update_icon_cache) $(datadir)/icons/hicolor; \
else \
echo "*** Icon cache not updated. After (un)install, run this:"; \
- echo "*** $(gtk_update_hicolor_icon_cache)"; \
+ echo "*** $(gtk_update_icon_cache) $(datadir)/icons/hicolor"; \
fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]