Red Hat Bugzilla – Bug 475928
gtk-update-icon-cache used incorrectly in post install and uninstall scripts
Last modified: 2009-01-04 01:03:48 EST
Description of problem:
There are a couple of parts to the problem. One is that 'touch' is used without requiring coreutils for the postin and postun scripts. The other is that gtk-update-icon-cache is supposed to be used in a way that will work if gtk2 isn't installed. The typical idiom given to me was:
touch --no-create /usr/share/icons/hicolor
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache --quiet /usr/share/icons/hicolor || :
In addition you'll want to add these requires to the spec file:
Not doing the above can cause problems when doing fresh installs or build live cds. Whether or not problems show up in a specific case is somewhat random depending on the order that packages get installed.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Fixed in devel, thanks for the report.
Just confirming that I am no longer seeing the install problem in rawhide.