chore: update install script

This commit is contained in:
iff 2024-12-10 19:40:12 +01:00
parent a3d3c6f143
commit d28b80b304
2 changed files with 3 additions and 3 deletions

View file

@ -106,7 +106,7 @@ jobs:
uses: ncipollo/release-action@v1
with:
artifacts: |
*.tar.gz
*.tar.zst
*.zip
*.deb
allowUpdates: true

View file

@ -43,7 +43,7 @@ main() {
assert_nz "${_package}" "package"
echo "Downloaded package: ${_package}"
case "${_package}" in
*.tar.gz)
*.tar.zst)
need_cmd tar
ensure tar -xf "${_package}"
;;
@ -154,7 +154,7 @@ download_pay_respects() {
local _ext
case "${_package_url}" in
*.tar.gz) _ext="tar.gz" ;;
*.tar.zst) _ext="tar.zst" ;;
*.zip) _ext="zip" ;;
*) err "unsupported package format: ${_package_url}" ;;
esac