setting environment variables in spec file

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

 



Hi,
I wanted to update my PATH and add new ENVIRONMENT variables in my RPM. I tried doing the following
 
1) export TEST="my value"
or
2) export TEST='myvalue'
 in %post section. It didnt give any error while installing, but nothing was set. I couldnt see any new TEST environment variable at all.
 
What could be possibly wrong ? Am I missing something or am I doing it in the wrong way ?
 
Thanks
Lakshmi
 
 
_______________________________________________
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