mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-20 13:50:12 +01:00
Support new Build: syntax in completion; retab
This commit is contained in:
parent
8627357cd9
commit
c47b1dc286
@ -54,10 +54,16 @@ __vercode() {
|
||||
}
|
||||
|
||||
COMPREPLY=( $( compgen -W "$( while read line; do
|
||||
[[ "$line" == "Build Version:"* ]] && {
|
||||
if [[ "$line" == "Build Version:"* ]]
|
||||
then
|
||||
line="${line#*,}"
|
||||
printf "${line%%,*} "
|
||||
} done < "metadata/${p}.txt" )" -- $cur ) )
|
||||
elif [[ "$line" == "Build:"* ]]
|
||||
then
|
||||
line="${line#*,}"
|
||||
printf "${line%%,*} "
|
||||
fi
|
||||
done < "metadata/${p}.txt" )" -- $cur ) )
|
||||
}
|
||||
|
||||
__complete_options() {
|
||||
|
Loading…
Reference in New Issue
Block a user