[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
preun/postun argument when multiple instances
- From: Sebastien BLAISOT <sblaisot pjdirect fr>
- To: rpm-list redhat com
- Subject: preun/postun argument when multiple instances
- Date: Wed, 06 Jun 2007 16:29:20 +0200
Hi there,
Just a question :
If I have multiple instances (with, say, different versions) of a
package installed and uninstall them with a single rpm command, what
value will the preun and postun scripts receive as an argument ?
for example, say I installed foobar-1.0-1 and foobar-1.1-1 (whith no
conflict as foobar-1.0 installs in a different directory than
foobar-1.1) and issue the following command :
rpm -e foobar-1.0-1 foobar-1.1-1
which argument will receive the preun and postun scripts of each package.
will foobar-1.0-1 get 1 and foobar-1.1-1 get 0 or will they both receive 0 ?
thanks in advance,
--
Sebastien BLAISOT
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]