1
0
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:
Daniel Martí 2013-09-06 23:13:45 +02:00
parent e966634bc0
commit c87e6b0c16

View File

@ -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 ) )
}