Le jeudi 12 juillet 2007 à 09:43 +0100, Daniel Holbach a écrit : > Please add "|| true" to gtk-update-icon-cache calls in postinst/postrm. > The postinsts in Ubuntu are currently bombing out on things > like /usr/share/locolor (of openoffice.org) which does not ship an > index.theme file. This is arguably a bug in openoffice.org; but the user > experience is horrible: due to something silly as an updated icon cache > the package installation is broken. > > Please add "|| true" to the postinsts and postrms, so > gtk-update-icon-cache does not bomb out anymore.
I fear this could lead to real breakage being ignored. To avoid running into such issues, I suggest the following in the postinst snippet: - if [ -f "$dir"/icon-theme.cache ]; then + if [ -f "$dir"/index.theme ] && [ "$dir"/icon-theme.cache ]; then The postrm snippet should be unaffected as it already has such a check. Cheers, -- .''`. : :' : We are debian.org. Lower your prices, surrender your code. `. `' We will add your hardware and software distinctiveness to `- our own. Resistance is futile.
signature.asc
Description: Ceci est une partie de message numériquement signée

