summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEudyptula <eitan@mosenkis.net>2009-06-22 16:42:57 -0400
committerEudyptula <eitan@mosenkis.net>2009-06-22 16:42:57 -0400
commitc64f0fad993d53ed00c98668114ba062ea376e29 (patch)
tree95a37bf76e7624066b9d31ede7c7a68cc39907a3 /frontend
parentAdded basic support for adding arbitrary packages in frontend and backend, ta... (diff)
downloadingenue-c64f0fad993d53ed00c98668114ba062ea376e29.tar.gz
ingenue-c64f0fad993d53ed00c98668114ba062ea376e29.tar.bz2
ingenue-c64f0fad993d53ed00c98668114ba062ea376e29.zip
Fix some silly mistakes, add PATH from the host system to the backend's target environment, update todo
Diffstat (limited to 'frontend')
-rw-r--r--frontend/wizard/step2.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/frontend/wizard/step2.php b/frontend/wizard/step2.php
index 5ce0c46..1978f92 100644
--- a/frontend/wizard/step2.php
+++ b/frontend/wizard/step2.php
@@ -24,15 +24,15 @@ function wizard_body_step2() {
}
function wizard_process_step2() {
global $S, $request;
- $packages=array();
if (isset($request['extra_packages'])) {
+ $packages=array();
foreach ($request['extra_packages'] as $name => $null) {
$packages[]=$name;
}
+ $packages=implode(' ', $packages);
+ $opt=new sql_buildopt($S['wizard.build']->id, 'install_packages', $packages);
+ $opt->write();
}
- $packages=implode(' ', $packages);
- $opt=new sql_buildopt($S['wizard.build']->id, 'install_packages', $packages);
- $opt->write();
return true;
}
?>