diff --git a/packages/v2ray/build.sh b/packages/v2ray/build.sh index 782bcbdd15194e9..fd95bbd3351b88f 100644 --- a/packages/v2ray/build.sh +++ b/packages/v2ray/build.sh @@ -30,7 +30,7 @@ termux_pkg_auto_update() { tmpdir="$(mktemp -d)" curl -sLo "${tmpdir}/tmpfile" "https://github.com/v2fly/v2ray-core/releases/download/v$latest_tag/v2ray-linux-64.zip" local sha="$(sha256sum "${tmpdir}/tmpfile" | cut -d ' ' -f 1)" - + sed \ -e "s|^_RELEASE_SHA256=.*|_RELEASE_SHA256=${sha}|" \ -i "${TERMUX_PKG_BUILDER_DIR}/build.sh"