Mailinglist Archive: opensuse-packaging (120 mails)

< Previous Next >
Re: [opensuse-packaging] rpm-3.x - locking rpmdb
  • From: Cristian Rodríguez <crrodriguez@xxxxxxxxxxxx>
  • Date: Thu, 16 Jul 2009 14:44:58 -0400
  • Message-id: <4A5F752A.9030909@xxxxxxxxxxxx>
On 16/07/09 11:32, Andre Hübner wrote:

yes, thats it.
tomorrow i will try with testing existence of file and do an exit if
file exists.

No! you never _ever_ do that.

This will force the user to uninstall foo-1.0 and install
foo-1.1 after that explicit uninstall.
testing existence of file seems to be most acceptable at the moment...

what kind of file are you testing before exit ? is it a configuration file ? a binary ? this smells pretty fishy to me..
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >