https://bugzilla.redhat.com/show_bug.cgi?id=1517451



--- Comment #12 from MartinKG <[email protected]> ---
please remove executing gtk-update-icon-cache in %post/%postu/%postrans to
update hicolor theme cache

All those scriptles are no longer needed because in hicolor-icon-theme
package has file triggers updating theme cache on any change in single
dnf/rpm transaction.

https://pagure.io/packaging-committee/issue/736

remove this part from the spec file:

/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 || :

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to