Set PATH etc. in post processing.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5599 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
nott 2010-03-29 17:54:12 +00:00
parent e2874241c2
commit 09c1993c5e

View File

@ -228,6 +228,16 @@ echo "
# xCAT Perl setup
PERL5LIB=/usr/opt/perl5/lib/5.8.2:/usr/opt/perl5/lib/5.8.2/aix-thread-multi:/usr/opt/perl5/lib/site_perl/5.8.2:/usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi " >>/etc/environment
fi
if ! egrep XCATROOT /etc/profile > /dev/null 2>&1 ; then
echo "
# xCAT setup
XCATROOT=$RPM_INSTALL_PREFIX0
PATH=\$PATH:\$XCATROOT/bin:\$XCATROOT/sbin
MANPATH=\$MANPATH:\$XCATROOT/share/man:
export XCATROOT PATH MANPATH
" >>/etc/profile
fi
%endif
%preun