summaryrefslogtreecommitdiffstats
path: root/pts-core/functions/pts-functions-install_dependencies.php
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-12-28 20:23:16 -0500
committerMichael Larabel <michael@phx-laptop.(none)>2008-12-28 20:23:16 -0500
commitd7c33482e476306becf4f86e2e41dc240537406a (patch)
tree432149db8458eec6e1330d59ba6149063930c225 /pts-core/functions/pts-functions-install_dependencies.php
parent90144e293debc08ec87a0062e845526bdb3e425e (diff)
downloadphoronix-test-suite-upstream-d7c33482e476306becf4f86e2e41dc240537406a.tar.gz
phoronix-test-suite-upstream-d7c33482e476306becf4f86e2e41dc240537406a.tar.xz
phoronix-test-suite-upstream-d7c33482e476306becf4f86e2e41dc240537406a.zip
pts-core: Add install-all-dependencies option to install all available
external dependencies for that distribution
Diffstat (limited to 'pts-core/functions/pts-functions-install_dependencies.php')
-rw-r--r--pts-core/functions/pts-functions-install_dependencies.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/pts-core/functions/pts-functions-install_dependencies.php b/pts-core/functions/pts-functions-install_dependencies.php
index b01486b..b3bca2a 100644
--- a/pts-core/functions/pts-functions-install_dependencies.php
+++ b/pts-core/functions/pts-functions-install_dependencies.php
@@ -165,7 +165,7 @@ function pts_package_generic_to_distro_name(&$package_install_array, $generic_na
for($i = 0; $i < count($generic_package); $i++)
{
- if(!empty($generic_package[$i]) && in_array($generic_package[$i], $generic_names))
+ if(!empty($generic_package[$i]) && ($generic_names == "all" || in_array($generic_package[$i], $generic_names)))
{
if(!in_array($distro_package[$i], $package_install_array))
{