From 449d3e96fd08f067cd894dde16da160fce7abe0a Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Thu, 2 Aug 2012 14:51:48 +0545 Subject: 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". --- etc/inc/pkg-utils.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'etc/inc') 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); } } -- cgit v1.1