proprietary / chromium-widevine

How to install Widevine on Chromium on Linux; how to watch Netflix on Chromium Ubuntu or Debian
Apache License 2.0
159 stars 25 forks source link

Running on Debian - dash doesn't support double bracket #7

Open mhanor opened 3 years ago

mhanor commented 3 years ago

Please adjust the scripts so it doesn't throw errors like [[: not found On my Debian machine, /bin/sh is a link to dash, not bash

Thank you.

$ ./use-standalone-widevine.sh ./fetch-latest-widevine.sh: 13: [[: not found /usr/bin/wget /usr/bin/curl ./fetch-latest-widevine.sh: 19: [[: not found % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 133 100 133 0 0 621 0 --:--:-- --:--:-- --:--:-- 618 ./fetch-latest-widevine.sh: 25: [[: not found % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 6561k 100 6561k 0 0 9163k 0 --:--:-- --:--:-- --:--:-- 9163k

baptx commented 8 months ago

I got this error too on Debian 12 but I use Bash (not Dash). However even with the errors, the installation was successful (because the double brackets from the script are just used for error handling) and I got DRM working in Chromium when testing on https://integration.widevine.com/player.