summaryrefslogtreecommitdiffstats
path: root/usr/local/www/pkg_mgr_install.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2004-12-31 23:58:13 +0000
committerScott Ullrich <sullrich@pfsense.org>2004-12-31 23:58:13 +0000
commit87e94c2df5a8d1818c6d032eeb57da61f6646e9b (patch)
tree408aa260e85e9b8d469eb09b0d9dbcdb28cab586 /usr/local/www/pkg_mgr_install.php
parented7bcd2e1500541e4e94c6d3b37f712924130db3 (diff)
downloadpfsense-87e94c2df5a8d1818c6d032eeb57da61f6646e9b.zip
pfsense-87e94c2df5a8d1818c6d032eeb57da61f6646e9b.tar.gz
Clean up log statements. No functional changes.
Diffstat (limited to 'usr/local/www/pkg_mgr_install.php')
-rwxr-xr-xusr/local/www/pkg_mgr_install.php21
1 files changed, 15 insertions, 6 deletions
diff --git a/usr/local/www/pkg_mgr_install.php b/usr/local/www/pkg_mgr_install.php
index 94ebb8e..304283f 100755
--- a/usr/local/www/pkg_mgr_install.php
+++ b/usr/local/www/pkg_mgr_install.php
@@ -220,7 +220,9 @@ if(!$pkg_config['packages']) {
update_progress_bar($pb_percent);
$pb_percent += 10;
-/* install the package */
+/*
+ * install the package
+*/
// Ensure directories are in place for pkg_add.
mwexec("mkdir /usr/local/www/ext/Services >/dev/null 2>&1");
@@ -327,7 +329,10 @@ $name = $pkgent['name'];
update_progress_bar($pb_percent);
$pb_percent++;
-// parse the config file for this package and install neededtext items.
+/*
+ * parse the config file for this package and install neededtext items.
+ *
+*/
if(file_exists("/usr/local/pkg/" . $pkgent['name'] . ".xml")) {
$package_conf = parse_xml_config_pkg("/usr/local/pkg/" . $pkgent['name'] . ".xml", "packagegui");
if($package_conf['modify_system']['item'] <> "") {
@@ -340,8 +345,10 @@ if(file_exists("/usr/local/pkg/" . $pkgent['name'] . ".xml")) {
}
}
- // fetch additional files needed for package if defined
- // and uncompress if needed.
+ /*
+ * fetch additional files needed for package if defined
+ * and uncompress if needed.
+ */
if ($package_conf['additional_files_needed'] <> "") {
foreach($package_conf['additional_files_needed']['item'] as $afn) {
update_progress_bar($pb_percent);
@@ -354,8 +361,10 @@ if(file_exists("/usr/local/pkg/" . $pkgent['name'] . ".xml")) {
}
}
- // loop through menu installation items
- // installing multiple items if need be.
+ /*
+ * loop through menu installation items
+ * installing multiple items if need be.
+ */
foreach ($package_conf['menu'] as $menu) {
// install menu item into the ext folder
fwrite($fd_log, "Adding menu option to " . $menu['section'] . "/" . $menu['name'] . "\n");
OpenPOWER on IntegriCloud