summaryrefslogtreecommitdiffstats
path: root/etc/inc/pkg-utils.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-06-12 18:07:16 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-06-12 18:07:16 +0000
commit4082f394fa5942c7e87db47dd25b97338962d793 (patch)
treee8aeaa6ae118c7dd8372d1f5faa4d7fad5ad8263 /etc/inc/pkg-utils.inc
parentf2952490916f0afbb5c31d1ef94feb13acf4df37 (diff)
downloadpfsense-4082f394fa5942c7e87db47dd25b97338962d793.zip
pfsense-4082f394fa5942c7e87db47dd25b97338962d793.tar.gz
Honour the custom_php_deinstall_command which is in about 90% of our packages!
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 e396510..485d3e5 100644
--- a/etc/inc/pkg-utils.inc
+++ b/etc/inc/pkg-utils.inc
@@ -676,6 +676,9 @@ function delete_package_xml($pkg) {
update_output_window($static_output);
}
}
+ /* execute the deinstall command if it exists */
+ if($pkg_config['custom_php_deinstall_command'] <> "")
+ eval($pkg_config['custom_php_deinstall_command']);
/* remove config.xml entries */
$static_output .= "\tConfiguration... ";
update_output_window($static_output);
OpenPOWER on IntegriCloud