Add XCATROOT etc. to /etc/profile for AIX.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@257 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
3ab51e3c13
commit
8c6698d45d
@ -118,6 +118,15 @@ echo "setenv XCATROOT \"$RPM_INSTALL_PREFIX0\"
|
||||
setenv PATH \${PATH}:\${XCATROOT}/bin:\${XCATROOT}/sbin
|
||||
setenv MANPATH \${MANPATH}:\${XCATROOT}/share/man" >/etc/profile.d/xcat.csh
|
||||
chmod 755 /etc/profile.d/xcat.*
|
||||
|
||||
%else
|
||||
echo "
|
||||
# xCAT setup
|
||||
XCATROOT=$RPM_INSTALL_PREFIX0
|
||||
PATH=\$PATH:\$XCATROOT/bin:\$XCATROOT/sbin
|
||||
MANPATH=\$MANPATH:\$XCATROOT/share/man
|
||||
export XCATROOT PATH MANPATH" >>/etc/profile
|
||||
|
||||
%endif
|
||||
|
||||
%preun
|
||||
|
Loading…
Reference in New Issue
Block a user