Jan Kupec wrote:
Zypper should as well. But does not. It may have ugly sonsequences while installing some packages (missing icons, MIME binding,...)
Just to avoid confusion: are you sure? That would imply the need to run SuSEConfig after any 'rpm -i/-U'!
Yes. If you are using RPM directly, call SuSEconfig.
That was a bug in the package, the package can't just rely on SuSEConfig will be run after it installs. Only in case YAST_IS_RUNNING is set (as jsrain pointed out in his mail).
So while i agree with you that this needs to be solved at rpm level (as you pointed out in the other mail), it is not true zypper should run SuSEConfig because bugs in packages can have consequences if it is not run. Please let's be clear on that.
Well, YAST_IS_RUNNING is not implemented in most packages. Implementing it to packages would make zypper installation much slower than YaST and will require following change in ~500 packages (including KDE, XFCE and other non-GTK+ desktop applications...): %posttrans if test -t "$YAST_IS_RUNNING" ; then if test -f /usr/bin/gtk-update-icon-cache ; then /usr/bin/gtk-update-icon-cache fi if test -f /usr/bin/update-desktop-database ; then /usr/bin/update-desktop-database fi fi -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: sbrabec@suse.cz Lihovarská 1060/12 tel: +420 284 028 966, +49 911 740538747 190 00 Praha 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org