mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
Do not search and replace metadata/ and .txt
This commit is contained in:
parent
e966634bc0
commit
c87e6b0c16
1 changed files with 2 additions and 2 deletions
|
|
@ -26,8 +26,8 @@
|
||||||
__package() {
|
__package() {
|
||||||
[[ -d ./metadata ]] || return 0
|
[[ -d ./metadata ]] || return 0
|
||||||
files=( metadata/*.txt )
|
files=( metadata/*.txt )
|
||||||
files=( ${files[@]/metadata\//} )
|
files=( ${files[@]#metadata/} )
|
||||||
files=${files[@]/.txt/}
|
files=${files[@]%.txt}
|
||||||
COMPREPLY=( $( compgen -W "$files" -- $cur ) )
|
COMPREPLY=( $( compgen -W "$files" -- $cur ) )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue