mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-18 07:44:26 +01:00
fix & opt
- display when client.run no result - remove dep. marquee
This commit is contained in:
@@ -89,7 +89,8 @@ class AptProvider extends BusyProvider {
|
||||
default:
|
||||
// avoid other outputs
|
||||
// such as: [Could not chdir to home directory /home/test: No such file or directory, , WARNING: apt does not have a stable CLI interface. Use with caution in scripts., , Listing...]
|
||||
final idx = list.indexWhere((element) => element.contains('[upgradable from:'));
|
||||
final idx =
|
||||
list.indexWhere((element) => element.contains('[upgradable from:'));
|
||||
if (idx != -1) {
|
||||
list = list.sublist(idx);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user