[gnome-bluetooth] no reason to update icon cache in %postun of main package *and* libs

Adam Williamson adamwill at fedoraproject.org
Fri May 10 21:26:26 UTC 2013


commit 703fd1f1b27e0733869e5cf3709278c97b6d8f66
Author: Adam Williamson <awilliam at redhat.com>
Date:   Fri May 10 14:25:39 2013 -0700

    no reason to update icon cache in %postun of main package *and* libs

 gnome-bluetooth.spec |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/gnome-bluetooth.spec b/gnome-bluetooth.spec
index 18c5b5f..198f406 100644
--- a/gnome-bluetooth.spec
+++ b/gnome-bluetooth.spec
@@ -98,10 +98,6 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
 %postun
 update-desktop-database &>/dev/null || :
 glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
-if [ $1 -eq 0 ] ; then
-	touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
-	gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
-fi
 
 %post libs
 /sbin/ldconfig
@@ -147,6 +143,9 @@ fi
 %{_datadir}/gtk-doc
 
 %changelog
+* Fri May 10 2013 Adam Williamson <awilliam at redhat.com>
+- no reason to update icon cache in %postun of main package *and* libs
+
 * Tue Mar 26 2013 Kalev Lember <kalevlember at gmail.com> - 1:3.8.0-1
 - Update to 3.8.0
 


More information about the scm-commits mailing list