[gconf-editor] Update icon cache scriptlet

Christopher Aillon caillon at fedoraproject.org
Sun May 8 01:39:44 UTC 2011


commit 8f22b4e19fabb86853c933db7f7ad8ce8a40168c
Author: Christopher Aillon <caillon at redhat.com>
Date:   Sat May 7 18:39:24 2011 -0700

    Update icon cache scriptlet
    
    was missing a touch call in %postun
    http://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Icon_Cache

 gconf-editor.spec |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/gconf-editor.spec b/gconf-editor.spec
index d5599a5..c47d00a 100644
--- a/gconf-editor.spec
+++ b/gconf-editor.spec
@@ -3,7 +3,7 @@
 Summary: Editor/admin tool for GConf
 Name: gconf-editor
 Version: 3.0.0
-Release: 1%{?dist}
+Release: 2%{?dist}
 URL: http://www.gnome.org
 #VCS: git:git://git.gnome.org/gconf-editor
 Source0: http://download.gnome.org/sources/gconf-editor/2.91/%{name}-%{version}.tar.bz2
@@ -69,6 +69,7 @@ fi
 
 %postun
 if [ $1 -eq 0 ]; then
+  touch --no-create %{_datadir}/icons/hicolor &>/dev/null
   gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
 fi
 
@@ -87,6 +88,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
 %dir %{_datadir}/omf/gconf-editor
 
 %changelog
+* Sat May 07 2011 Christopher Aillon <caillon at redhat.com> - 3.0.0-2
+- Update icon cache scriptlet
+
 * Mon Apr 04 2011 Cosimo Cecchi <cosimoc at redhat.com> - 3.0.0-1
 * Update to 3.0.0
 


More information about the scm-commits mailing list