diff --git a/xCAT-IBMhpc/share/xcat/IBMhpc/pe/pe_install b/xCAT-IBMhpc/share/xcat/IBMhpc/pe/pe_install index 5001e0282..a52416813 100755 --- a/xCAT-IBMhpc/share/xcat/IBMhpc/pe/pe_install +++ b/xCAT-IBMhpc/share/xcat/IBMhpc/pe/pe_install @@ -44,7 +44,7 @@ if [ $OS != "AIX" ]; then cd /tmp/pe download_dir=`echo $PE_DIR | cut -d '/' -f3-` wget -l inf -N -r --waitretry=10 --random-wait --retry-connrefused -t 10 -T 60 -nH --cut-dirs=5 ftp://$SITEMASTER/$download_dir/*.rpm 2> /tmp/wget.log - if [ -f /opt/ibmhpc/install/sbin/accept_ppe_license.sh ] ; then + if [ ! -f /opt/ibmhpc/install/sbin/accept_ppe_license.sh ] ; then rpm -Uvh IBM_pe_license*.rpm fi IBM_PE_LICENSE_PROMPT=N /opt/ibmhpc/install/sbin/accept_ppe_license.sh