im.pidgin.pidgin: 21950520b10c3609ad5d4b6448deb5c16848f962

nosnilmot at pidgin.im nosnilmot at pidgin.im
Thu Feb 28 16:56:17 EST 2008


-----------------------------------------------------------------
Revision: 21950520b10c3609ad5d4b6448deb5c16848f962
Ancestor: b12e423ede9c794d9b064ce3d625ab3b04d0fdf1
Author: nosnilmot at pidgin.im
Date: 2008-02-28T21:38:05
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/21950520b10c3609ad5d4b6448deb5c16848f962

Modified files:
        pidgin.spec.in

ChangeLog: 

Silence errors during RPM installation when gtk-update-icon-cache does not
exist

-------------- next part --------------
============================================================
--- pidgin.spec.in	648bad2c96a85b5fa15db3f62cb4dbe35ed5855e
+++ pidgin.spec.in	d868575c2883242605bcdccf17d6c71a75ab453c
@@ -327,7 +327,9 @@ touch --no-create %{_datadir}/icons/hico
     killall -HUP gconfd-2 &> /dev/null || :
 fi
 touch --no-create %{_datadir}/icons/hicolor || :
-%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor &> /dev/null || :
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+	%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor &> /dev/null || :
+fi
 
 %post -n libpurple -p /sbin/ldconfig
 
@@ -343,7 +345,9 @@ touch --no-create %{_datadir}/icons/hico
 
 %postun
 touch --no-create %{_datadir}/icons/hicolor || :
-%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor &> /dev/null || :
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+	%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor &> /dev/null || :
+fi
 
 %postun -n libpurple -p /sbin/ldconfig
 


More information about the Commits mailing list