Make downloader type configurable

This commit is contained in:
Lorenzo Bolla
2022-01-28 11:13:22 +01:00
parent cc30ef3ee2
commit 1afcd68e01
11 changed files with 22 additions and 7 deletions
+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