Re: Improved functionality for kernel rpms?

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

 



> > It seems like this is not possible. Perhaps this solution will do instead:
> > 
> > %preun
> > if [ $1 -lt 2 ]; then
> 
> What is $1, er, how is it instantiated?

The number of instances of the package currently installed on the system,
after the current package has been installed or erased. Take a look at
http://www.rpm.org/max-rpm/s1-rpm-inside-scripts.html.

--
Peter Åstrand		Chief Developer
Cendio			www.thinlinc.com
Teknikringen 3		www.cendio.se
583 30 Linköping        Phone: +46-13-21 46 00


_______________________________________________
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