From c68263277c8c25f5fe3a9bed275e09a96372d0a7 Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 28 Dec 2023 14:19:27 +0800 Subject: Update get.sh --- scripts/get.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/scripts/get.sh b/scripts/get.sh index e7dae19f7..d1744f971 100755 --- a/scripts/get.sh +++ b/scripts/get.sh @@ -189,12 +189,7 @@ if test_eq "$branch" "__local__"; then cp -r . $projectdir elif test_eq "$branch" "__run__"; then version=$(git ls-remote --tags "$gitrepo" | tail -c 7) - if xz --version >/dev/null 2>&1 - then - pack=xz - else - pack=gz - fi + pack=gz mkdir -p $projectdir runfile_url="https://fastly.jsdelivr.net/gh/xmake-mirror/xmake-releases@$version/xmake-$version.$pack.run" echo "downloading $runfile_url .." -- cgit v1.3.1