mirror of
https://github.com/SinTan1729/lure-repo.git
synced 2024-12-26 22:58:37 -06:00
Disable verbose decompression
This commit is contained in:
parent
645ee55180
commit
5e3bb2d664
2 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ package() {
|
||||||
vers="$(curl --silent "https://api.github.com/repos/${git_repo}/releases/latest" | grep -Eo '"tag_name": "v(.*)"' | sed -E 's/.*"([^"]+)".*/\1/')"
|
vers="$(curl --silent "https://api.github.com/repos/${git_repo}/releases/latest" | grep -Eo '"tag_name": "v(.*)"' | sed -E 's/.*"([^"]+)".*/\1/')"
|
||||||
echo Installing ${name} ${vers}
|
echo Installing ${name} ${vers}
|
||||||
curl -L "https://github.com/${git_repo}/releases/download/${vers}/${name}-${vers}-x86_64-unknown-linux-musl.tar.gz" -o ${name}.tar.gz
|
curl -L "https://github.com/${git_repo}/releases/download/${vers}/${name}-${vers}-x86_64-unknown-linux-musl.tar.gz" -o ${name}.tar.gz
|
||||||
tar xzvf "${name}.tar.gz" -C .
|
tar xzf "${name}.tar.gz" -C .
|
||||||
cd "./${name}-${vers}-x86_64-unknown-linux-musl"
|
cd "./${name}-${vers}-x86_64-unknown-linux-musl"
|
||||||
install -Dm755 "./${name}" "${pkgdir}/usr/local/bin/${name}"
|
install -Dm755 "./${name}" "${pkgdir}/usr/local/bin/${name}"
|
||||||
install -Dm644 "./${name}.1" "${pkgdir}/usr/local/share/man/man1/${name}.1"
|
install -Dm644 "./${name}.1" "${pkgdir}/usr/local/share/man/man1/${name}.1"
|
||||||
|
|
|
@ -21,7 +21,7 @@ package() {
|
||||||
vers="$(curl --silent "https://api.github.com/repos/${git_repo}/releases/latest" | grep -Eo '"tag_name": "(.*)"' | sed -E 's/.*"([^"]+)".*/\1/')"
|
vers="$(curl --silent "https://api.github.com/repos/${git_repo}/releases/latest" | grep -Eo '"tag_name": "(.*)"' | sed -E 's/.*"([^"]+)".*/\1/')"
|
||||||
echo Installing ${name} ${vers}
|
echo Installing ${name} ${vers}
|
||||||
curl -L "https://github.com/${git_repo}/releases/download/${vers}/${name}-${vers}-x86_64-unknown-linux-musl.tar.gz" -o ${name}.tar.gz
|
curl -L "https://github.com/${git_repo}/releases/download/${vers}/${name}-${vers}-x86_64-unknown-linux-musl.tar.gz" -o ${name}.tar.gz
|
||||||
tar xzvf "${name}.tar.gz" -C .
|
tar xzf "${name}.tar.gz" -C .
|
||||||
cd "./${name}-${vers}-x86_64-unknown-linux-musl"
|
cd "./${name}-${vers}-x86_64-unknown-linux-musl"
|
||||||
install -Dm755 "./${name}" "${pkgdir}/usr/local/bin/${name}"
|
install -Dm755 "./${name}" "${pkgdir}/usr/local/bin/${name}"
|
||||||
install -Dm644 "./${name}.1" "${pkgdir}/usr/local/share/man/man1/${name}.1"
|
install -Dm644 "./${name}.1" "${pkgdir}/usr/local/share/man/man1/${name}.1"
|
||||||
|
|
Loading…
Reference in a new issue