Mailinglist Archive: opensuse-buildservice (239 mails)

< Previous Next >
Re: [opensuse-buildservice] about testing for pre/postinstall scripts that are not idempotent
  • From: Marcus Meissner <meissner@xxxxxxx>
  • Date: Wed, 27 May 2009 11:14:50 +0200
  • Message-id: <20090527091450.GB7061@xxxxxxx>
On Wed, May 27, 2009 at 11:08:06AM +0200, Christian wrote:
Hi Marcus,

Marcus Meissner schrieb:
This is for me a false positive

I doubt it is a false positive.

Do you have the .spec file for us to review?
home:computersalat:monitoring centreon

/srv/%{name}/www/*

And your moving /srv/centreon/www/install to
...install-%{release} in the post script.

- Are you moving it away for backup? Why not "cp"?
- Is a new rpm always delivering a new www root?
- Could you mark changeable files as %config in there?

Ciao, Marcus
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >