From: Zdeněk Šustr Date: Mon, 5 Mar 2012 12:32:30 +0000 (+0000) Subject: Not a breath without wget ;-) X-Git-Tag: glite-jobid-api-c_R_2_1_2_1~71 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=7efede25e513dba9ee8bbd622d31670d9f1195e6;p=jra1mw.git Not a breath without wget ;-) --- diff --git a/org.glite.testsuites.ctb/PX/tests/px-autonomous-test.sh b/org.glite.testsuites.ctb/PX/tests/px-autonomous-test.sh index 5571f02..0899448 100755 --- a/org.glite.testsuites.ctb/PX/tests/px-autonomous-test.sh +++ b/org.glite.testsuites.ctb/PX/tests/px-autonomous-test.sh @@ -39,6 +39,17 @@ EndHelpHeader STARTTIME=`date +%s` +egrep -i "Debian|Ubuntu" /etc/issue +if [ \$? = 0 ]; then + INSTALLCMD="apt-get install -q --yes" + INSTALLPKGS="lintian" +else + INSTALLCMD="yum install -q -y --nogpgcheck" + INSTALLPKGS="rpmlint" +fi + +$INSTALLCMD wget + # read common definitions and functions for COMMON in px-common.sh test-common.sh px-common-testbeds.sh do