Mailinglist Archive: opensuse-packaging (206 mails)

< Previous Next >
Re: [opensuse-packaging] rpmlint-checks: adding new gnome/desktop-related checks
  • From: Cristian Morales Vega <cmorve69@xxxxxxxx>
  • Date: Mon, 17 Jan 2011 13:15:35 +0100
  • Message-id: <AANLkTi=PXr8ZsQp4KQ+afOgJxzFVuRrUAjJLCas8rMiS@mail.gmail.com>
2011/1/17 Vincent Untz <vuntz@xxxxxxxxxxxx>:
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.

After looking into it now I'm not really sure. But anyway it would
require a new "SourceX:", a new line in "%install" and then the
scriplet... three independent lines. So yes, I would just forget about
this and wait for Collections that with some luck will be available in
11.4+1.
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >