Not sure if it can be done. RPM by design is to be non-interactive.
If you want packages that require user input, perhaps shell achives (tar achives inside a script) might be an option.
Mike
Ben Tu wrote:
Hi All,
I would like to build an RPM package that would ask the user for input at pre-install time and
use those inputs at post-install time. does anyone know how I can do it?
Can I ask user for input in the %pre script and retrieve those inputs in the %post script?
thanks
_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list
_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list