From ad0752cfaef36f1a6cc07386b9eca44a8027bd5d Mon Sep 17 00:00:00 2001 From: bp-sawyers Date: Thu, 29 Jul 2010 11:36:38 +0000 Subject: [PATCH] Change to dep build script: do not install perl-DBD-DB2 on aix git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6905 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- builddep.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/builddep.sh b/builddep.sh index 8a4839ce6..9bc97e110 100755 --- a/builddep.sh +++ b/builddep.sh @@ -114,8 +114,11 @@ for i in `ls *.rpm|grep -v -E '^tcl-|^tk-|^expect-'`; do else opts="" fi - echo rpm -Uvh $opts $i - rpm -Uvh $opts $i + # this next if stmt means: if i does not start with perl-DBD-DB2 + if [ "${i#perl-DBD-DB2}" == "$i" ]; then + echo rpm -Uvh $opts $i + rpm -Uvh $opts $i + fi done # don't try to install tcl, tk, or expect if they are already installed! lslpp -l | grep expect.base > /dev/null 2>&1