Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
try not to rely on dpkg here, fedora does not like that.
authordegomme <augustin.degomme@unibas.ch>
Mon, 7 Mar 2016 16:28:50 +0000 (17:28 +0100)
committerdegomme <augustin.degomme@unibas.ch>
Mon, 7 Mar 2016 16:28:50 +0000 (17:28 +0100)
tools/jenkins/DynamicAnalysis.sh

index ed65c7b..cd9b2b4 100755 (executable)
@@ -22,7 +22,7 @@ do_cleanup() {
 
 for pkg in xsltproc valgrind gcovr
 do
-   if dpkg -l |grep -q $pkg 
+   if command -v $pkg
    then 
       echo "$pkg is installed. Good."
    else