summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rwxr-xr-xdraklive-install2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 5f0c794..8f90141 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- use run_program::get_stdout to calculate installed size, to
+ allow us to respond to check-alive pings whilst waiting
- install callback routine to handle window events whilst waiting
for sub-programs to terminate (mga#31105)
diff --git a/draklive-install b/draklive-install
index 3b8224c..6b9d786 100755
--- a/draklive-install
+++ b/draklive-install
@@ -307,7 +307,7 @@ sub get_total_size {
state %total;
return $total{$source} if $total{$source};
my $_wait = $in->wait_message('', N("Computing total size"));
- $total{$source} = first(split(/\s+/, `du -sbx /run/mgalive/ovlsize 2>/dev/null`));
+ $total{$source} = first(split(/\s+/, run_program::get_stdout('du', '2>', '/dev/null', '-sbx', '/run/mgalive/ovlsize')));
}
sub sync_logs() {