Show the detailed backup progress during update

Fixes #157
This commit is contained in:
Johannes Zellner
2017-01-12 13:42:55 +01:00
parent aa4d95f352
commit 1c9f2495e3
4 changed files with 17 additions and 5 deletions
+2
View File
@@ -759,6 +759,8 @@ function doUpdate(boxUpdateInfo, callback) {
debug('updating box %s %j', boxUpdateInfo.sourceTarballUrl, data);
progress.set(progress.UPDATE, 5, 'Downloading and extracting new version');
shell.sudo('update', [ UPDATE_CMD, boxUpdateInfo.sourceTarballUrl, JSON.stringify(data) ], function (error) {
if (error) return updateError(error);