Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mhanor opened this issue Apr 8, 2021 · 1 comment
Open

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

mhanor opened this issue Apr 8, 2021 · 1 comment

Comments

@mhanor
Copy link

mhanor commented Apr 8, 2021

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

@mhanor mhanor changed the title Running on Debian - dash doesn't supports double bracket Running on Debian - dash doesn't support double bracket Apr 8, 2021
@baptx
Copy link

baptx commented Mar 7, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants