Fix icon cache path in scriptlets (#1470335)

This commit is contained in:
David King 2017-07-13 13:06:53 +01:00
parent 8043a23ee8
commit fa8edbc2c7

View File

@ -3,7 +3,7 @@
Name: yelp
Epoch: 2
Version: 3.25.3
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Help browser for the GNOME desktop
Group: Applications/System
@ -127,12 +127,12 @@ update-desktop-database &> /dev/null ||:
if [ $1 -eq 0 ]; then
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null ||:
touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
gtk-update-icon-cache %{_datadir}icons/hicolor &> /dev/null || :
gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
fi
%posttrans
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null ||:
gtk-update-icon-cache %{_datadir}icons/hicolor &> /dev/null || :
gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
%post libs -p /sbin/ldconfig
@ -159,6 +159,9 @@ gtk-update-icon-cache %{_datadir}icons/hicolor &> /dev/null || :
%changelog
* Thu Jul 13 2017 David King <amigadave@amigadave.com> - 2:3.25.3-2
- Fix icon cache path in scriptlets (#1470335)
* Tue Jun 20 2017 David King <amigadave@amigadave.com> - 2:3.25.3-1
- Update to 3.25.3