summaryrefslogtreecommitdiffstats
path: root/etc/inc/pkg-utils.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-01-07 20:14:40 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-01-07 20:14:40 +0000
commit3e9e4c98a7914750be4e913b87d3c65e86cf383f (patch)
tree5fd1b39b3a4acdefece6cba317b5a396f6de854b /etc/inc/pkg-utils.inc
parent1efaae2391b7f365add70f8abb8fc370210a110d (diff)
downloadpfsense-3e9e4c98a7914750be4e913b87d3c65e86cf383f.zip
pfsense-3e9e4c98a7914750be4e913b87d3c65e86cf383f.tar.gz
Alert when running php_ commands
Diffstat (limited to 'etc/inc/pkg-utils.inc')
-rw-r--r--etc/inc/pkg-utils.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/inc/pkg-utils.inc b/etc/inc/pkg-utils.inc
index 0d0b348..9464edd 100644
--- a/etc/inc/pkg-utils.inc
+++ b/etc/inc/pkg-utils.inc
@@ -588,12 +588,15 @@ function install_package_xml($pkg) {
$static_output .= "\tCustom commands... ";
update_output_window($static_output);
if($pkg_config['custom_php_global_functions'] <> "") {
+ update_output_window("Running custom_php_global_functions...");
eval_once($pkg_config['custom_php_global_functions']);
}
if($pkg_config['custom_php_install_command']) {
+ update_output_window("Running custom_php_install_command...");
eval_once($pkg_config['custom_php_install_command']);
}
if($pkg_config['custom_php_resync_config_command'] <> "") {
+ update_output_window("Running custom_php_resync_config_command...");
eval_once($pkg_config['custom_php_resync_config_command']);
}
$static_output .= "done.\n";
OpenPOWER on IntegriCloud