Skip to content

Commit

Permalink
Fixed download script
Browse files Browse the repository at this point in the history
  • Loading branch information
virtualzone committed May 14, 2023
1 parent ec56565 commit f166be9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion get.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f166be9

Please sign in to comment.