From 8c6698d45d5ffeac047ebf8f92969648ad8c0409 Mon Sep 17 00:00:00 2001 From: nott Date: Mon, 14 Jan 2008 16:53:45 +0000 Subject: [PATCH] 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 --- xCAT-client-2.0/xCAT-client.spec | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/xCAT-client-2.0/xCAT-client.spec b/xCAT-client-2.0/xCAT-client.spec index 3bb4b0543..b9948bce5 100644 --- a/xCAT-client-2.0/xCAT-client.spec +++ b/xCAT-client-2.0/xCAT-client.spec @@ -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