RE: Regarding RPM

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

 



Depending on what you are trying to accomplish, then #1 is usually handled
by Requires.  If you must do it programatically, exiting in the pre script
is usually best, because exiting in post still installs the package.
You'll want to play with the exiting though, I know a bad exit status will
cancel/error out the install, but have never tried to exit on purpose.

For #2, user input, and any amount of visible output, is generally
considered bad practice.  For overridng the instakllation read up on
Prefix, which can be overridden.  As I'm on my phone I don't have a link.
The MaxRPM and the Fedora Packaging Guidelines are good reference usually.

Greg Swift
Sent with mobile device, please pardon errors.



-------- Original Message --------

>From :      rpm-list-bounces@xxxxxxxxxxxxx
To :         rpm-list@xxxxxxxxxxxxx
Cc :
Sent on : 06/20/2010 08:17:05 AM
Subject : Regarding RPM

Hi All,

I have few questions regarding RPM:


1.) Considering that certain condition doesn't get met, then can we exit
from the pre/post installation shell script by providing the k/w 'exit' ?

2.) Can I take a User Input in pre/post installation section of RPM
during installation of RPM.
For example, during the installation of RPM, I would like to ask to user to
provide a installation path for the application that is going to be
installed etc.
If No, then is there any other work around to do the same?

Thanks.
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/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