From 58095404f4bccbefdb59cb983dfabd081f4830ae Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Thu, 22 Feb 2007 20:01:44 +0000 Subject: [PATCH] When reinstalling a package, honor $pkg_interface --- etc/inc/pfsense-utils.inc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index bd813b784c..5d45bbea81 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -841,8 +841,13 @@ function get_filename_from_url($url) { * update_output_window: update bottom textarea dynamically. */ function update_output_window($text) { + global $pkg_interface; $log = ereg_replace("\n", "\\n", $text); - echo "\n"; + if($pkg_interface == "console") { + echo " $log"; + } else { + echo "\n"; + } /* ensure that contents are written out */ ob_flush(); }