summaryrefslogtreecommitdiffstats
path: root/etc/inc/pkg-utils.inc
diff options
context:
space:
mode:
authorColin Smith <colin@pfsense.org>2005-06-16 03:34:03 +0000
committerColin Smith <colin@pfsense.org>2005-06-16 03:34:03 +0000
commitb8358d15ed3859865db109dd81eb1f9106aedbb5 (patch)
treea1dd023313896ff400dd047a7747a48c312239f9 /etc/inc/pkg-utils.inc
parent7a861225c9fabf92110fc164dc2fc9cae64c78da (diff)
downloadpfsense-b8358d15ed3859865db109dd81eb1f9106aedbb5.zip
pfsense-b8358d15ed3859865db109dd81eb1f9106aedbb5.tar.gz
Style cleanup.
Diffstat (limited to 'etc/inc/pkg-utils.inc')
-rw-r--r--etc/inc/pkg-utils.inc17
1 files changed, 9 insertions, 8 deletions
diff --git a/etc/inc/pkg-utils.inc b/etc/inc/pkg-utils.inc
index 9e2442e..3c20b70 100644
--- a/etc/inc/pkg-utils.inc
+++ b/etc/inc/pkg-utils.inc
@@ -217,9 +217,9 @@ function sync_package($pkg_name, $sync_depends = true, $show_message = false) {
$pkg_config = parse_xml_config_pkg("/usr/local/pkg/" . $package['configurationfile'], "packagegui");
if(isset($pkg_config['nosync'])) continue;
if($pkg['custom_php_global_functions'] <> "")
- eval($pkg['custom_php_global_functions']);
- if($pkg_config['custom_php_command_before_form'] <> "")
- eval($pkg_config['custom_php_command_before_form']);
+ eval($pkg['custom_php_global_functions']);
+ if($pkg_config['custom_php_command_before_form'] <> "")
+ eval($pkg_config['custom_php_command_before_form']);
if($pkg_config['custom_php_resync_config_command'] <> "")
eval($pkg_config['custom_php_resync_config_command']);
if($sync_depends == true) {
@@ -238,11 +238,12 @@ function sync_package($pkg_name, $sync_depends = true, $show_message = false) {
eval($item_config['custom_php_resync_config_command']);
}
if($show_message == true) print " " . $item_config['name'];
- }
- }
- }
- }
- }
+ }
+ }
+ }
+ }
+ }
+ return;
}
/*
OpenPOWER on IntegriCloud