rpms/amarok/devel amarok.spec,1.22,1.23
Aurelien Bompard (abompard)
fedora-extras-commits at redhat.com
Fri Aug 26 13:08:04 UTC 2005
Author: abompard
Update of /cvs/extras/rpms/amarok/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11498/devel
Modified Files:
amarok.spec
Log Message:
improve scriptlets
Index: amarok.spec
===================================================================
RCS file: /cvs/extras/rpms/amarok/devel/amarok.spec,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- amarok.spec 23 Aug 2005 22:33:19 -0000 1.22
+++ amarok.spec 26 Aug 2005 13:08:01 -0000 1.23
@@ -152,18 +152,18 @@
%post
/sbin/ldconfig
# update icon themes if necessary
-if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/crystalsvg
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+ %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/crystalsvg || :
# needed because amarok 1.2 puts icon in hicolor
# and the RPM did not update the cache on uninstall
- /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
+ %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%postun
/sbin/ldconfig
# update icon themes if necessary
-if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/crystalsvg
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+ %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/crystalsvg || :
fi
More information about the fedora-extras-commits
mailing list