[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: %post items un-done by an obsoleted package's %postun
- From: "Adam Crews" <Adam Crews procket com>
- To: <rpm-list redhat com>
- Subject: RE: %post items un-done by an obsoleted package's %postun
- Date: Fri, 6 Sep 2002 13:17:27 -0700
ahh...
%triggerpostun is exactly what I needed.
in my spec file I added:
%triggerpostun -- LPRng
/sbin/chkconfig --add lpd
Thanks!
-Adam
| -----Original Message-----
| From: Matthias Saou [mailto:matthias@rpmforge.net]
| Sent: Friday, September 06, 2002 10:56 AM
| To: rpm-list@redhat.com
| Subject: Re: %post items un-done by an obsoleted package's %postun
|
|
| Once upon a time, Adam wrote :
|
| > After my package is installed successfully, the lprng,
| printconf, ect
| > are un-installed. During this un-install the %postun for
| lprng runs a
| > chkconfig --del lpr, and un-does what my %post did.
| >
| > How can I prevent this from happening without having to
| uninstall the
| > lprng package before installing mine?
|
| You could call your init script differently, that should be
| the easiest.
| Maybe with the "trigger" things (that I've never played
| with), you could
| get something closer to what you want, have a look at
| Maximum RPM for that.
|
| Matthias
|
| --
| Clean custom Red Hat Linux rpm packages : http://freshrpms.net/
| Red Hat Linux release 7.3 (Valhalla) running Linux kernel 2.4.18-10
| Load : 0.00 0.24 0.25, AC on-line, battery charging: 100% (6:36)
|
|
|
| _______________________________________________
| Rpm-list mailing list
| Rpm-list@redhat.com
| https://listman.redhat.com/mailman/listinfo/rpm-list
|
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]