1
0
mirror of https://git.zap.org.au/git/trader.git synced 2025-04-18 00:47:33 -04:00

Remove obsolete gtk-update-icon-cache scriplets

This commit is contained in:
John Zaitseff 2019-11-14 07:39:37 +11:00
parent c1351afd7f
commit afdd18fd4f

View File

@ -13,7 +13,7 @@
Name: trader Name: trader
Version: 7.13 Version: 7.13
Release: 1%{?dist} Release: 2%{?dist}
Summary: Star Traders, a simple game of interstellar trading Summary: Star Traders, a simple game of interstellar trading
License: GPLv3+ License: GPLv3+
Url: https://www.zap.org.au/projects/trader/ Url: https://www.zap.org.au/projects/trader/
@ -49,19 +49,10 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
%{_datadir}/applications/%{name}.desktop %{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.* %{_datadir}/icons/hicolor/*/apps/%{name}.*
%post
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun
if [ $1 -eq 0 ]; then
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
%posttrans
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%changelog %changelog
* Thu Nov 14 2019 John Zaitseff <J.Zaitseff@zap.org.au> - 7.13-2
- Removed obsolete gtk-update-icon-cache scriplets.
* Thu Nov 14 2019 John Zaitseff <J.Zaitseff@zap.org.au> - 7.13-1 * Thu Nov 14 2019 John Zaitseff <J.Zaitseff@zap.org.au> - 7.13-1
- Updated the RPM package for a new release of Star Traders: version 7.13. - Updated the RPM package for a new release of Star Traders: version 7.13.