Re: How can i enter value during rpm -i and use them during the postinstall process?

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

 



In regard to: Re: How can i enter value during rpm -i and use them during...:

>So if I cannot pass values by using "rpm -i software_a.rpm STRING1 STRING2",
>then can i do the following:
>
>"export STRING="xxx"; export STRING2="yyy"; rpm -i software_a.rpm"
>
>then in the postinstall section,
>
>I will do the following:
>
>"echo ${STRING1}"
>"echo ${STRING2}"
>
>Will this work instead of the orginal rpm usage then i posted?

Why don't you test it, and report your findings to the list?

Tim
-- 
Tim Mooney                              mooney@xxxxxxxxxxxxxxxxxxxxxxxxx
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J6, IACC Building              (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164


_______________________________________________
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