Only match custom target string with
This commit is contained in:
parent
72d3d94593
commit
2d94eaccc4
1 changed files with 1 additions and 1 deletions
2
arkdep
2
arkdep
|
@ -355,7 +355,7 @@ deploy () {
|
|||
declare curl_data=$(curl -sf "${repo_url}/${deploy_target}/database" | head -n 1)
|
||||
else
|
||||
# Only return first hit
|
||||
declare curl_data=$(curl -sf "${repo_url}/${deploy_target}/database" | grep $2 | head -1)
|
||||
declare curl_data=$(curl -sf "${repo_url}/${deploy_target}/database" | grep "^$2" | head -1)
|
||||
fi
|
||||
|
||||
# Split latest_version at the delimiter, creating an array with data.0=package ver, data.1=compression method, data.2=sha1 hash
|
||||
|
|
Loading…
Add table
Reference in a new issue