mirror of
https://github.com/Ld-Hagen/fix-opera-linux-ffmpeg-widevine.git
synced 2026-03-30 04:53:50 +03:00
Fixed errors from PR
This commit is contained in:
@@ -34,7 +34,11 @@
|
|||||||
|
|
||||||
`sudo ./scripts/fix-opera.sh`
|
`sudo ./scripts/fix-opera.sh`
|
||||||
|
|
||||||
4. Run install script and answer few questions.
|
4. Make install.sh executable
|
||||||
|
|
||||||
|
`chmod +x ./install.sh`
|
||||||
|
|
||||||
|
5. Run install script and answer few questions.
|
||||||
|
|
||||||
`sudo ./install.sh`
|
`sudo ./install.sh`
|
||||||
|
|
||||||
|
|||||||
@@ -10,17 +10,17 @@ if [[ $(uname -m) != "x86_64" ]]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if command -v unzip > /dev/null; then
|
if ! command -v unzip > /dev/null; then
|
||||||
printf '\033[1munzip\033[0m package must be installed to run this script\n'
|
printf '\033[1munzip\033[0m package must be installed to run this script\n'
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if command -v curl > /dev/null; then
|
if ! command -v curl > /dev/null; then
|
||||||
printf '\033[1mcurl\033[0m package must be installed to run this script\n'
|
printf '\033[1mcurl\033[0m package must be installed to run this script\n'
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if command -v jq > /dev/null; then
|
if ! command -v jq > /dev/null; then
|
||||||
printf '\033[1mjq\033[0m package must be installed to run this script\n'
|
printf '\033[1mjq\033[0m package must be installed to run this script\n'
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user