diff options
author | Colin Smith <colin@pfsense.org> | 2005-06-07 03:48:54 +0000 |
---|---|---|
committer | Colin Smith <colin@pfsense.org> | 2005-06-07 03:48:54 +0000 |
commit | 16a5dc45353fb92696e4a1a4a8068837af5b0033 (patch) | |
tree | 63a8e1b50bbd74ef3b632a51f3c3c7e0ab506e48 /etc | |
parent | 05b3b83a21313515b9bd57b87d65e57e11b8ede9 (diff) | |
download | pfsense-16a5dc45353fb92696e4a1a4a8068837af5b0033.zip pfsense-16a5dc45353fb92696e4a1a4a8068837af5b0033.tar.gz |
Update package utilities.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/pkg-utils.inc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/etc/inc/pkg-utils.inc b/etc/inc/pkg-utils.inc index e694154..d488c70 100644 --- a/etc/inc/pkg-utils.inc +++ b/etc/inc/pkg-utils.inc @@ -344,8 +344,6 @@ function read_body($ch, $string) { function install_package($package, $pkg_info = "") { global $g, $config, $pkg_interface, $fd_log, $static_output; - /* flush static output */ - $static_output = ""; /* open logfiles and begin installation */ if(!$fd_log) { if(!$fd_log = fopen("{$g['tmp_path']}/pkg_mgr_{$pkg}.log", "w")) { @@ -354,7 +352,7 @@ function install_package($package, $pkg_info = "") { } @fwrite($fd_log, "Beginning package installation.\n"); log_error('Beginning package installation for ' . $package . '.'); - update_status("Beginning package installation for " . $pkg_info['name'] . "..."); + update_status("Beginning package installation for " . $package . "..."); /* fetch package information if needed */ if(!$pkg_info or !is_array($pkg_info[$package])) { $pkg_info = get_pkg_info(array($package)); @@ -565,8 +563,6 @@ function install_package_xml($pkg) { function delete_package($pkg) { global $g, $config, $fd_log, $static_output; - /* flush static output */ - $static_output .= ""; update_status("Removing package..."); $static_output .= "Removing package... "; update_output_window($static_output); |