update mime scriptlet

This commit is contained in:
Rex Dieter 2014-08-12 11:40:50 -05:00
parent 8d1bf569f9
commit 9558d27da9

View File

@ -17,7 +17,7 @@
Name: qgis Name: qgis
Version: 2.4.0 Version: 2.4.0
Release: 5%{?dist} Release: 6%{?dist}
Summary: A user friendly Open Source Geographic Information System Summary: A user friendly Open Source Geographic Information System
Group: Applications/Engineering Group: Applications/Engineering
@ -327,19 +327,20 @@ rm -f %{buildroot}%{_datadir}/%{name}/doc/INSTALL
%post %post
/sbin/ldconfig /sbin/ldconfig
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
update-mime-database %{_datadir}/mime &> /dev/null || : touch --no-create %{_datadir}/mime/packages &> /dev/null || :
%postun %postun
/sbin/ldconfig /sbin/ldconfig
if [ $1 -eq 0 ] ; then if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/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 || :
touch --no-create %{_datadir}/mime/packages &> /dev/null || :
update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
fi fi
update-mime-database %{_datadir}/mime &> /dev/null || :
%posttrans %posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
%post grass -p /sbin/ldconfig %post grass -p /sbin/ldconfig
@ -413,6 +414,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%changelog %changelog
* Tue Aug 12 2014 Rex Dieter <rdieter@fedoraproject.org> 2.4.0-6
- update mime scriptlet
* Sun Aug 10 2014 Devrim GÜNDÜZ <devrim@gunduz.org> - 2.4.0-5 * Sun Aug 10 2014 Devrim GÜNDÜZ <devrim@gunduz.org> - 2.4.0-5
- Rebuild against new grass - Rebuild against new grass