mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-04 22:40:12 +01:00
Do not search and replace metadata/ and .txt
This commit is contained in:
parent
e966634bc0
commit
c87e6b0c16
@ -26,8 +26,8 @@
|
||||
__package() {
|
||||
[[ -d ./metadata ]] || return 0
|
||||
files=( metadata/*.txt )
|
||||
files=( ${files[@]/metadata\//} )
|
||||
files=${files[@]/.txt/}
|
||||
files=( ${files[@]#metadata/} )
|
||||
files=${files[@]%.txt}
|
||||
COMPREPLY=( $( compgen -W "$files" -- $cur ) )
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user