2010/8/7 Vincent Untz <vuntz@opensuse.org>:
Hi,
I'm facing three cases where many packages should do something in %post/%postun but usually don't do anything because it's some manual work, and I want to provide macros to make it easier to fix this.
The three cases are:
+ when installing a .desktop file, update-desktop-database should be called
I should reverify, but I think KDE ignores it (it has its own MIME cache and has to look at .desktop files anyway for the "InitialPreference" field). There is something really using it?
+ when installing an icon in the hicolor theme, gtk-update-icon-cache should be called
Wasn't decided it was a bad idea (https://bugzilla.novell.com/395056 and related, plus http://old-en.opensuse.org/Packaging/Scriptlet_Snippets#GTK.2B_icon_cache)? GTK should be fixed instead? KDE doesn't needs anything similar...
(Btw, the best long-term solution is some trigger in rpm when a file get installed in a directory, but I've been waiting for this for a long time and I don't see it moving...)
I didn't look at them in detail, but aren't "Collections" (http://lists.opensuse.org/zypp-devel/2010-06/msg00004.html) what's needed? -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org