From 7efede25e513dba9ee8bbd622d31670d9f1195e6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zden=C4=9Bk=20=C5=A0ustr?= Date: Mon, 5 Mar 2012 12:32:30 +0000 Subject: [PATCH] Not a breath without wget ;-) --- org.glite.testsuites.ctb/PX/tests/px-autonomous-test.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 -- 1.8.2.3