Add progress bar on package saving progress

This commit is contained in:
Andrey Smirnov
2017-04-15 00:40:46 +03:00
parent 4171a73995
commit c40025a335
3 changed files with 28 additions and 14 deletions
+1 -1
View File
@@ -227,7 +227,7 @@ func aptlyMirrorUpdate(cmd *commander.Command, args []string) error {
return fmt.Errorf("unable to update: %s", err)
}
repo.FinalizeDownload(context.CollectionFactory())
repo.FinalizeDownload(context.CollectionFactory(), context.Progress())
err = context.CollectionFactory().RemoteRepoCollection().Update(repo)
if err != nil {
return fmt.Errorf("unable to update: %s", err)