From 8678b463ff091d1f28cab586ca98628774859796 Mon Sep 17 00:00:00 2001 From: SinTan1729 Date: Sun, 20 Nov 2022 02:51:25 -0600 Subject: [PATCH] Fix download link --- lf/lure.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lf/lure.sh b/lf/lure.sh index 94a16b4..b2fe4dd 100644 --- a/lf/lure.sh +++ b/lf/lure.sh @@ -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}" }