diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2023-01-25 11:11:32 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2023-01-25 11:11:32 +0200 |
commit | 64654832a7bcd735f3581d254b18bf724a9cc0a7 (patch) | |
tree | 7428c158fd6c9f02aad99e70a886d36d47666c95 /bpkg/system-package-manager.cxx | |
parent | e0130883f64cc8898d4aa43a39ec739ffc09ea1f (diff) |
Start testing Debian implementation
Diffstat (limited to 'bpkg/system-package-manager.cxx')
-rw-r--r-- | bpkg/system-package-manager.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bpkg/system-package-manager.cxx b/bpkg/system-package-manager.cxx index aa71284..5e556f9 100644 --- a/bpkg/system-package-manager.cxx +++ b/bpkg/system-package-manager.cxx @@ -35,6 +35,10 @@ namespace bpkg const string& sudo, const string& name) { + optional<bool> progress (co.progress () ? true : + co.no_progress () ? false : + optional<bool> ()); + unique_ptr<system_package_manager> r; if (optional<os_release> osr = host_os_release (host)) @@ -63,7 +67,7 @@ namespace bpkg // @@ TODO: verify name if specified. r.reset (new system_package_manager_debian ( - co, move (*osr), install, fetch, yes, sudo)); + move (*osr), install, fetch, progress, yes, sudo)); } } } |