Re: rawhide report: 20060227 changes - gtk2 circular dep

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux