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".
This commit is contained in:
Phil Davis 2012-08-02 14:51:48 +05:45
parent 6675b01abe
commit 449d3e96fd

View File

@ -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);
}
}