From 74544b25c053c73058cd19c1b3db1006cb53373b Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Thu, 10 Jan 2008 13:23:35 +0000 Subject: [PATCH] Have xCAT metapackage source the profile.d explicitly, so install postscripts will work as intended git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@238 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/xCAT.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xCAT/xCAT.spec b/xCAT/xCAT.spec index 846575e74..a87fc7bb2 100644 --- a/xCAT/xCAT.spec +++ b/xCAT/xCAT.spec @@ -43,6 +43,9 @@ mkdir -p $RPM_BUILD_ROOT/%{prefix}/share/doc/packages/xCAT cp LICENSE.html $RPM_BUILD_ROOT/%{prefix}/share/doc/packages/xCAT %post +if [ -f /etc/profile.d/xcat.sh ]; then + . /etc/profile.d/xcat.sh +fi if [ ! -f /install/postscripts/hostkeys/ssh_host_key ]; then echo Generating SSH1 RSA Key... /usr/bin/ssh-keygen -t rsa1 -f /install/postscripts/hostkeys/ssh_host_key -C '' -N ''