From ee23c563a5427a7094389f316cd1ea33e284a846 Mon Sep 17 00:00:00 2001 From: GONG Jie Date: Sun, 31 Dec 2017 23:59:59 +0000 Subject: [PATCH] Remove trailing spaces in file xCAT-IBMhpc/share/xcat/IBMhpc/rsct/rsct_install --- xCAT-IBMhpc/share/xcat/IBMhpc/rsct/rsct_install | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/xCAT-IBMhpc/share/xcat/IBMhpc/rsct/rsct_install b/xCAT-IBMhpc/share/xcat/IBMhpc/rsct/rsct_install index 3db9042ff..2481c8704 100755 --- a/xCAT-IBMhpc/share/xcat/IBMhpc/rsct/rsct_install +++ b/xCAT-IBMhpc/share/xcat/IBMhpc/rsct/rsct_install @@ -1,6 +1,6 @@ -#!/bin/sh +#!/bin/sh -# +# # Sample script to accept licenses and install RSCT packages # For AIX: # do nothing - RSCT gets installed with base AIX @@ -25,7 +25,7 @@ if [ $OS != "AIX" ]; then # Do nothing - use rsct.otherpkgs.pkglist to install the # rsct rpms #fi - + if [ $NODESETSTATE == "genimage" ]; then # Being called from .postinstall script @@ -33,20 +33,20 @@ if [ $OS != "AIX" ]; then if [[ $OS = sles* ]] || [[ $OS = suse* ]] || [[ -f /etc/SuSE-release ]]; then # For SLES, assume zypper is available on the system running genimage # rsct don't need license. So not install and accept the rsct license on the MN - + # Install RSCT product rpms - INUCLIENTS=1 INUBOSTYPE=1 zypper -n -R $installroot install $RSCT_DIR/src-*.rpm $RSCT_DIR/rsct.core-*.rpm $RSCT_DIR/rsct.core.utils-*.rpm + INUCLIENTS=1 INUBOSTYPE=1 zypper -n -R $installroot install $RSCT_DIR/src-*.rpm $RSCT_DIR/rsct.core-*.rpm $RSCT_DIR/rsct.core.utils-*.rpm else # For Redhat, etc., assume yum is available on the system running genimage # rsct don't need license. So not install and accept the rsct license on the MN # Install RSCT product rpms - INUCLIENTS=1 INUBOSTYPE=1 yum -y --installroot $installroot --nogpgcheck install $RSCT_DIR/src-*.rpm $RSCT_DIR/rsct.core-*.rpm $RSCT_DIR/rsct.core.utils-*.rpm + INUCLIENTS=1 INUBOSTYPE=1 yum -y --installroot $installroot --nogpgcheck install $RSCT_DIR/src-*.rpm $RSCT_DIR/rsct.core-*.rpm $RSCT_DIR/rsct.core.utils-*.rpm fi fi -fi +fi exit 0