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

Re: rawhide report: 20060227 changes - gtk2 circular dep



Orion Poplawski wrote:
Erwin Rol wrote:

Why do icons require a toolkit like GTK ?

It doesn't.

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

So it really should be:
Requires(post): /usr/bin/gtk-update-icon-cache

Or do what
http://fedoraproject.org/wiki/ScriptletSnippets
suggests: "Note that no dependencies should be added for this"

-- Rex


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