mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 14:32:28 +03:00
Better parsing of args, install now works as it should
This commit is contained in:
parent
3aec0aacd7
commit
84bf3d758f
4 changed files with 63 additions and 23 deletions
|
@ -40,6 +40,9 @@ __package() {
|
|||
|
||||
__signed_package() {
|
||||
files=( repo/*.apk )
|
||||
if [ "${files[0]}" == "repo/*.apk" ]; then
|
||||
return
|
||||
fi
|
||||
files=( ${files[@]#repo/} )
|
||||
files=${files[@]%_*}
|
||||
COMPREPLY=( $( compgen -W "$files" -- $cur ) )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue