Remove obsolete scriptlets that are now automatic.

This commit is contained in:
Charalampos Stratakis 2018-02-05 17:50:53 +01:00
parent 969d51434e
commit 14deb52d02

View File

@ -1077,26 +1077,6 @@ CheckPython optimized
%endif # with tests
# ======================================================
# Scriptlets
# ======================================================
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
%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 || :
%files
%defattr(-, root, root)
%license LICENSE