preun/postun argument when multiple instances

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux