diff options
author | Phil Davis <phil.davis@world.inf.org> | 2012-08-02 14:51:48 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@world.inf.org> | 2012-08-02 14:51:48 +0545 |
commit | 449d3e96fd08f067cd894dde16da160fce7abe0a (patch) | |
tree | 1edbfb12d9288d2fb0576d2b3564d62b0cac96db /etc | |
parent | 6675b01abea47da81f6e0bf0f1bde1d3f7009ded (diff) | |
download | pfsense-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')
-rw-r--r-- | etc/inc/pkg-utils.inc | 2 |
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); } } |