mirror of
https://github.com/SinTan1729/lure-repo.git
synced 2024-12-26 06:48:35 -06:00
Fix download link
This commit is contained in:
parent
37006f06cd
commit
8678b463ff
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ version() {
|
|||
package() {
|
||||
vers="$(curl --silent "https://api.github.com/repos/${git_repo}/releases/latest" | grep -Eo '"tag_name": "(r.*)"' | sed -E 's/.*"([^"]+)".*/\1/')"
|
||||
echo Installing ${name} ${vers}
|
||||
curl -L "https://github.com/${git_repo}/releases/download/${vers}/${name}-linux-${architecture}.tar.gz" -o ${name}.tar.gz
|
||||
curl -L "https://github.com/${git_repo}/releases/download/${vers}/${name}-linux-${architectures}.tar.gz" -o ${name}.tar.gz
|
||||
tar xzf "${name}.tar.gz" -C .
|
||||
install -Dm755 "./${name}" "${pkgdir}/usr/local/bin/${name}"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue