summaryrefslogtreecommitdiffstats
path: root/etc/inc/pkg-utils.inc
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@world.inf.org>2012-08-02 14:51:48 +0545
committerPhil Davis <phil.davis@world.inf.org>2012-08-02 14:51:48 +0545
commit449d3e96fd08f067cd894dde16da160fce7abe0a (patch)
tree1edbfb12d9288d2fb0576d2b3564d62b0cac96db /etc/inc/pkg-utils.inc
parent6675b01abea47da81f6e0bf0f1bde1d3f7009ded (diff)
downloadpfsense-449d3e96fd08f067cd894dde16da160fce7abe0a.zip
pfsense-449d3e96fd08f067cd894dde16da160fce7abe0a.tar.gz
Tidy package cleanup output
Add a "done." and newline after "Cleaning up..." Then when output is going to the serial console the next line will start cleanly and %age figures will not write over the top of "Clean".
Diffstat (limited to 'etc/inc/pkg-utils.inc')
-rw-r--r--etc/inc/pkg-utils.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/pkg-utils.inc b/etc/inc/pkg-utils.inc
index 1493c4f..d8dbdae 100644
--- a/etc/inc/pkg-utils.inc
+++ b/etc/inc/pkg-utils.inc
@@ -391,6 +391,8 @@ function uninstall_package($pkg_name) {
mwexec("/usr/bin/tar xzPfk /tmp/pkg_bins.tgz -C /", true);
@unlink("/tmp/pkg_libs.tgz");
@unlink("/tmp/pkg_bins.tgz");
+ $static_output .= gettext("done.") . "\n";
+ update_output_window($static_output);
}
}
OpenPOWER on IntegriCloud