On Sun, Feb 17, 2008 at 01:15:46PM +0100, Josselin Mouette wrote: > On dim, 2008-02-17 at 11:15 +0100, Simon Pepping wrote: > > On Sat, Feb 16, 2008 at 08:21:15PM +0100, Josselin Mouette wrote: > > > I guess we can display a big warning if gtk-update-icon-cache fails, and > > > exit without error to allow the upgrade to proceed nevertheless. > > > > > > Would that be OK for you? > > > > Would it not be better to keep the error exit code but make sure that > > it is not the exit code of the postrm script? A straightforward way to > > do that would be to add the true command after the update-icon-caches > > command. This shows that a failure of the update-icon-caches command > > is not fatal for the upgrade process. > > As the update-icon-caches command is not really meant to be used outside > the debhelper scripts, I guess the effect would be the same. Changing > debhelper means rebuilding all packages using it. Changing the script > means it works right now for everyone. Pick your choice :)
If it were my choice, I would do 'update-icon-caches -q $dirs || true'. Several init scripts do similar things. Regards, Simon -- Simon Pepping email: [EMAIL PROTECTED] home page: http://www.leverkruid.eu -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

