Red Hat Bugzilla – Bug 149515
update fails if last file in /usr/share/icons/* is not a dir
Last modified: 2013-03-05 22:42:41 EST
If the last entry in the expansion of /usr/share/icons/* in the %post
of gnome-icon-theme and redhat-artwork, the install will fail because
gtk-update-icon-cache will exit with a non-zero status when not given
a directory. On my case, the last entry is xpdf.png, on an
`everything' install of rawhide. I had more than one version of these
packages installed becuase they'd fail to update correctly.
I suggest replacing /usr/share/icons/* with /usr/share/icons/*/, if
gtk-update-icon-cache accepts that, or running test ! -d $dir ||
Version-Release number of selected component (if applicable):
We are doing the -d $dir test nowadays.