mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 14:32:28 +03:00
Fixes #8: if unknown APKs found, prompt to use -c or use --delete-unknown
This adds the option --delete-unknown for the current default behavior of `fdroid update`: to delete any unknown APKs. Instead, it just outputs a warning about the unknown APKs and suggests -c for adding it. Fixes #8 https://gitlab.com/fdroid/fdroidserver/issues/8
This commit is contained in:
parent
2f3022ff65
commit
af22962572
2 changed files with 12 additions and 6 deletions
|
@ -129,7 +129,7 @@ __complete_install() {
|
|||
__complete_update() {
|
||||
opts="-h -c -v -q -b -i -I -e -w"
|
||||
lopts="--help --createmeta --verbose --quiet --buildreport --interactive
|
||||
--icons --editor --wiki --pretty --clean"
|
||||
--icons --editor --wiki --pretty --clean --delete-unknown"
|
||||
case "${prev}" in
|
||||
-e|--editor)
|
||||
_filedir
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue