Le lundi 17 janvier 2011, à 11:41 +0100, Michael Schroeder a écrit :
On Mon, Jan 17, 2011 at 10:39:03AM +0100, Michael Andres wrote:
On Sunday 16 January 2011 19:44:50 Cristian Morales Vega wrote:
FWIW, if instead of calling gtk-update-icon-cache on each package installation you change the %icon_theme_cache_post(un) macros to use ZYpp's update-scripts (http://lists.opensuse.org/zypp-devel/2010-06/msg00005.html) you have my vote to add those checks today. That should solve any problem with the installer.
Michael, are update-scripts still the best way to run something that needs to be done for a lot of packages and it is enough if it's run once after all packages have been installed
On libzypp level, yes. http://old-en.opensuse.org/Software_management/Code11/Scripts_and_Messages
I'm not sure update-scripts would work here. My understanding is that a script owned by package X is run after package X is installed. What we would need here is that a script owned by package X is run after package A, B, C or D is installed. Also, the wiki page says: "It is an exceptional case and should be treated as such.", which wouldn't be the case here. Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org