From c71d70c403c3a4187b52570d14bdefe266c12073 Mon Sep 17 00:00:00 2001 From: shenmo <47873776+shenmo7192@users.noreply.github.com> Date: Fri, 22 Nov 2024 00:04:45 +0800 Subject: [PATCH] fix: remove $0d from the end of the link --- get/xmind-vana.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/get/xmind-vana.sh b/get/xmind-vana.sh index 8bf483f..041bccb 100644 --- a/get/xmind-vana.sh +++ b/get/xmind-vana.sh @@ -1,6 +1,6 @@ -X64_URL=$(curl -sI "https://xmind.cn/zen/download/linux_deb/" | grep location | cut -d ' ' -f 2) +X64_URL=$(curl -sI "https://xmind.cn/zen/download/linux_deb/" | grep location | cut -d ' ' -f 2 | tr -d '\r') # https://dl3.xmind.cn/Xmind-for-Linux-amd64bit-24.04.10311-202405240010.deb VERSION=$(echo $X64_URL | cut -d '-' -f 5) -./check_downloader.py xmind-vana $VERSION $X64_URL \ No newline at end of file +./check_downloader.py xmind-vana $VERSION $X64_URL