Setting Env Variables | RPM

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

 



Hi
 
I am facing an issue in setting environment variables through RPM.
 
In my spec file, at the %post section,i have
 
export JAVA_HOME=/usr/java/j2sdk1.4.2_12
 
If i try printing,this here itself i will be shown as set.But if i try to print the value of JAVA_HOME,after installing the RPM,it is empty.
 
I dont know if this is the right way for setting environment variables through RPM,please advice
 
Thanks in advance
 
Lis Thomas
_______________________________________________
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