Erwin Rol wrote:
Why do icons require a toolkit like GTK ?
- Erwin
Perhaps:
# rpm -qp --scripts hicolor-icon-theme-0.9-1.noarch.rpm
postinstall scriptlet (using /bin/sh):
touch --no-create /usr/share/icons/hicolor
if [ -x /usr/bin/gtk-update-icon-cache ]; then
gtk-update-icon-cache --quiet /usr/share/icons/hicolor
fi
exit 0
postuninstall scriptlet (using /bin/sh):
touch --no-create /usr/share/icons/hicolor
if [ -x /usr/bin/gtk-update-icon-cache ]; then
gtk-update-icon-cache --quiet /usr/share/icons/hicolor
fi
exit 0
So it really should be:
Requires(post): /usr/bin/gtk-update-icon-cache
but not sure if this helps the circular dep.
And it's not even a hard requires there as at least the script works
without gtk-update-icon-cache. Perhaps a trigger (he says not knowing
anything about triggers)?
--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list