summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorColin Smith <colin@pfsense.org>2005-06-07 03:48:54 +0000
committerColin Smith <colin@pfsense.org>2005-06-07 03:48:54 +0000
commit16a5dc45353fb92696e4a1a4a8068837af5b0033 (patch)
tree63a8e1b50bbd74ef3b632a51f3c3c7e0ab506e48 /etc
parent05b3b83a21313515b9bd57b87d65e57e11b8ede9 (diff)
downloadpfsense-16a5dc45353fb92696e4a1a4a8068837af5b0033.zip
pfsense-16a5dc45353fb92696e4a1a4a8068837af5b0033.tar.gz
Update package utilities.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/pkg-utils.inc6
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);
OpenPOWER on IntegriCloud