rpms/Thunar/devel Thunar.spec,1.32,1.33

Christoph Wickert cwickert at fedoraproject.org
Fri Apr 30 11:34:10 UTC 2010


Author: cwickert

Update of /cvs/pkgs/rpms/Thunar/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv6158/devel

Modified Files:
	Thunar.spec 
Log Message:
Update icon-cache scriptlets


Index: Thunar.spec
===================================================================
RCS file: /cvs/pkgs/rpms/Thunar/devel/Thunar.spec,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -p -r1.32 -r1.33
--- Thunar.spec	30 Apr 2010 11:31:20 -0000	1.32
+++ Thunar.spec	30 Apr 2010 11:34:10 -0000	1.33
@@ -139,19 +139,21 @@ rm -rf $RPM_BUILD_ROOT
 %post
 /sbin/ldconfig
 update-desktop-database &> /dev/null ||:
-touch --no-create %{_datadir}/icons/hicolor || :
-if [ -x %{_bindir}/gtk-update-icon-cache ]; then
-   %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
-fi
+touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
 
 %postun
 /sbin/ldconfig
 update-desktop-database &> /dev/null ||:
-touch --no-create %{_datadir}/icons/hicolor || :
-if [ -x %{_bindir}/gtk-update-icon-cache ]; then
-   %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+if [ $1 -eq 0 ] ; then
+    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 fi
 
+%posttrans
+gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
+
+
 %files -f Thunar.lang
 %defattr(-,root,root,-)
 %doc README TODO ChangeLog NEWS INSTALL COPYING AUTHORS HACKING THANKS
@@ -213,6 +215,7 @@ fi
 * Fri Apr 30 2010 Christoph Wickert <cwickert at fedoraproject.org> - 1.0.1-7
 - Require hal-storage-addon
 - Remove obsolete mime types (#587256)
+- Update icon-cache scriptlets
 
 * Thu Apr 15 2010 Kevin Fenzi <kevin at tummy.com> - 1.0.1-6
 - Bump release



More information about the scm-commits mailing list