-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
I needed to edit this script as follows before it would download correctly:
diff --git a/fetch-latest-widevine.sh b/fetch-latest-widevine.sh
index 5d31ffe..99c2c25 100755
--- a/fetch-latest-widevine.sh
+++ b/fetch-latest-widevine.sh
@@ -14,8 +14,11 @@ esac
# Detect wget/curl
DLTOOL=""
-which wget && DLTOOL="wget -O -"
-which curl && DLTOOL="curl -L"
+if which wget; then
+ DLTOOL="wget -O -"
+elif which curl; then
+ DLTOOL="curl --remote-name -L"
+fi
[[ -z ${DLTOOL} ]] && echo "No download tool found on this system" 1>&2 && exit 1
# Begin downloadI must assume that most people are using wget, and do not have curl installed on their systems.
Metadata
Metadata
Assignees
Labels
No labels