From: František Dvořák Date: Mon, 27 Feb 2012 23:53:00 +0000 (+0000) Subject: Tuning for Debian. X-Git-Tag: glite-px-myproxy-yaim_R_4_1_6_2~20 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=7f1a3458436dcd6a44414c8d753d1e29bfada749;p=jra1mw.git Tuning for Debian. --- diff --git a/org.glite.testsuites.ctb/LB/tests/lb-common-testbeds.sh b/org.glite.testsuites.ctb/LB/tests/lb-common-testbeds.sh index dacb464..349868c 100755 --- a/org.glite.testsuites.ctb/LB/tests/lb-common-testbeds.sh +++ b/org.glite.testsuites.ctb/LB/tests/lb-common-testbeds.sh @@ -23,7 +23,7 @@ remotehost=$1 COPYPROXY=$2 egrep -i "Debian|Ubuntu" /etc/issue -if [ \$? = 0 ]; then +if [ $? = 0 ]; then INSTALLCMD="apt-get install -q --yes" INSTALLPKGS="lintian" else @@ -48,8 +48,13 @@ ${INSTALLCMD} globus-proxy-utils postgresql postgresql-server emi-lb-nagios-plug /etc/init.d/postgresql initdb >/dev/null 2>&1 /etc/init.d/postgresql start -mv /var/lib/pgsql/data/pg_hba.conf /var/lib/pgsql/data/pg_hba.conf.orig -cat >/var/lib/pgsql/data/pg_hba.conf <\$conf <>$dir/query.log` + if [ -z "$src" ]; then src="$pkg"; fi + pkgs="$pkgs +$src" + done pkgs=`echo "$pkgs" | sort | uniq` - rm -f $dir - mkdir $dir printf "Downloading packages..." (cd $dir; apt-get -d source $pkgs >$dir/download.log) if test $? -eq 0; then @@ -408,7 +416,6 @@ function check_lintian() { echo $pkg: out="`lintian $dir/${pkg}_*.dsc`" echo "$out" - echo if echo $out | grep -i '^E:' >/dev/null; then ret=1 fi