diff --git a/install-dua.sh b/install-dua.sh index 398256a..586c4c8 100755 --- a/install-dua.sh +++ b/install-dua.sh @@ -169,8 +169,7 @@ else esac TAG="$(get_latest_tag)" - VERSION="${TAG#v}" - FILENAME="dua-${VERSION}-${TARGET}.tar.gz" + FILENAME="dua-${TAG}-${TARGET}.tar.gz" DOWNLOAD_URL="https://github.com/${REPO}/releases/download/${TAG}/${FILENAME}" info "Downloading: $DOWNLOAD_URL"