Make downloader type configurable

This commit is contained in:
Lorenzo Bolla committed 2022-01-31 10:32:54 +01:00
1 parent cc30ef3ee2
commit 1afcd68e01
11 files changed
+22 -7

No files matched your search

+1 -1
View File
@@ -216,7 +216,7 @@ _aptly()
"update")
if [[ $numargs -eq 0 ]]; then
if [[ "$cur" == -* ]]; then
COMPREPLY=($(compgen -W "-force -download-limit= -ignore-checksums -ignore-signatures -keyring= -skip-existing-packages" -- ${cur}))
COMPREPLY=($(compgen -W "-force -download-limit= -downloader= -ignore-checksums -ignore-signatures -keyring= -skip-existing-packages" -- ${cur}))
else
COMPREPLY=($(compgen -W "$(__aptly_mirror_list)" -- ${cur}))
fi