On 2008-01-24 11:04:21 -0700, Bart Whiteley wrote:
> I've had to resort to that exact solution once before.  Use
> %triggerpostun instead of %triggerun. ("%triggerpostun -- foo" in
> foo.spec).  Since %preun and %postun of the old package run after %pre
> and %post of the new package, it's really the only way to compensate for
> a bad %preun or %postun script that is already out in the wild.  You'll
> probably want to add a version: "%triggerpostun -- foo < [the new version]"

ugh
really. using rpms for modifying configs from other packages is _wrong_.
we got so many nice tools for automatic deploy:
- kiwi
- autoyast
- systeminstaller

no need to abuse rpm for that.

    darix

-- 
           openSUSE - SUSE Linux is my linux
               openSUSE is good for you
                   www.opensuse.org
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to