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

Setting Env Variables | RPM



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

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