install xCATSB with xCATsn metapackage so will be removed on erase

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5036 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2010-01-25 13:48:20 +00:00
parent 85b0e9aa17
commit cb561d0d3e
2 changed files with 2 additions and 2 deletions

View File

@ -12,6 +12,7 @@ then
gzip -f /opt/freeware/src/packages/SOURCES/license.tar
cp xcat.conf /opt/freeware/src/packages/SOURCES
cp xCATSN /usr/src/$pkg/SOURCES
rm -f /opt/freeware/src/packages/SRPMS/xCATsn-$VER*rpm /opt/freeware/src/packages/RPMS/ppc/xCATsn-$VER*rpm
cd -
@ -30,6 +31,7 @@ else
cd `dirname $0`/xCATsn
tar --exclude .svn -czf /usr/src/$pkg/SOURCES/license.tar.gz LICENSE.html
cp xcat.conf /usr/src/$pkg/SOURCES
cp xCATSN /usr/src/$pkg/SOURCES
rm -f /usr/src/$pkg/SRPMS/xCATsn-$VER*rpm /usr/src/$pkg/RPMS/*/xCATsn-$VER*rpm
cd -
if [ ! -z "$1" ]; then

View File

@ -71,8 +71,6 @@ if [ "$1" = "1" ]; then #Only if installing for the first time..
# so conserver will start
mkdir -p /var/log/consoles
# makes it a service node
touch /etc/xCATSN
# remove any management node file
if [ -f /etc/xCATMN ]; then
rm /etc/xCATMN