projects / phoronix-test-suite.git / commitdiff
Build Results
 
Summary

Description: Unnamed repository; edit this file to name it for gitweb.
Last Change: Wed 2/3/10 13:04

Recent Commits
Time
Signed-Off By
Description
Commit Diff
Wed 2/3/10 13:04
Michael Larabel  
phoromatic: Add... 
Wed 2/3/10 12:38
Michael Larabel  
phoromatic: Add... 
Wed 2/3/10 12:27
Michael Larabel  
phoromatic: Add... 
Wed 2/3/10 9:26
Michael Larabel  
pts: Drop MD5 hashes in... 
Tue 2/2/10 23:43
Michael Larabel  
phoromatic: Add... 
Tue 2/2/10 23:35
Michael Larabel  
pts-core: Phoromatic... 
 
> --git a/pts-core/functions/pts-functions-install.php b/pts-core/functions/pts-functions-install.php
index a3b4954
..2fc20cb 100644
--- a/pts-core/functions/pts-functions-install.php
+++ b/pts-core/functions/pts-functions-install.php
@@ -127,17 +127,22 @@ function pts_file_missing_check($file_arr)

     return 
$file_missing;
 }
-function 
pts_install_package_on_distribution($distribution)
+function 
pts_install_package_on_distribution($benchmark)
 {
-    
$distribution strtolower($distribution);
-
+    
$benchmark strtolower($benchmark);
     
$install_objects = array();
-    
pts_recurse_install_benchmark($distribution$install_objects);
-
+    
pts_recurse_install_benchmark($benchmark$install_objects);
+    
pts_install_package_on_distribution_process($install_objects);
+}
+function 
pts_install_package_on_distribution_process($install_objects)
+{
     if(!empty(
$install_objects))
     {
         
$install_objects implode(" "$install_objects);
-        echo 
pts_exec("cd " MISC_LOCATION "distro-scripts/ && sh install-" strtolower(os_vendor()) . "-packages.sh $install_objects");
+        
$distribution strtolower(os_vendor());
+
+        if(
is_file(MISC_LOCATION "distro-scripts/ && sh install-" $distribution "-packages.sh") || is_link(MISC_LOCATION "distro-scripts/ && sh install-" $distribution "-packages.sh"))
+            echo 
pts_exec("cd " MISC_LOCATION "distro-scripts/ && sh install-" $distribution "-packages.sh $install_objects");
     }
 }
 function 
pts_install_external_dependencies_list($Benchmark, &$INSTALL_OBJ)
<
 
Phoronix.com
Linux Driver Forums
Copyright © 2010 by Phoronix Media