From f166be9a269323c298fc359fd284f4cc8a553e21 Mon Sep 17 00:00:00 2001 From: virtualzone <13085858+virtualzone@users.noreply.github.com> Date: Sun, 14 May 2023 07:38:21 +0200 Subject: [PATCH] Fixed download script --- get.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/get.sh b/get.sh index 031070f..8ed71de 100755 --- a/get.sh +++ b/get.sh @@ -30,7 +30,7 @@ elif [[ "$ARCH" == "armv71" ]]; then ARCH="arm" fi URL=`curl -s https://api.github.com/repos/virtualzone/onedrive-uploader/releases/latest | grep "browser_download_url" | grep "_${OS}_${ARCH}_" | cut -d : -f 2,3 | tr -d \" | xargs` -if [[ $URL == "" ]]; then +if [[ "$URL" == "" ]]; then echo "Could not find binary for OS '$OS' and architecture '$ARCH'." echo "Please check for an appropriate binary at: https://github.com/virtualzone/onedrive-uploader" exit 1