mirror of
https://github.com/Ld-Hagen/fix-opera-linux-ffmpeg-widevine.git
synced 2025-12-29 03:23:00 +03:00
Merge pull request #14 from arielj/fix-array-push
Push elements into array instead of concatenating strings
This commit is contained in:
@@ -33,11 +33,11 @@ readonly WIDEVINE_MANIFEST_NAME='manifest.json'
|
|||||||
OPERA_VERSIONS=()
|
OPERA_VERSIONS=()
|
||||||
|
|
||||||
if [ -x "$(command -v opera)" ]; then
|
if [ -x "$(command -v opera)" ]; then
|
||||||
OPERA_VERSIONS+="opera"
|
OPERA_VERSIONS+=("opera")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -x "$(command -v opera-beta)" ]; then
|
if [ -x "$(command -v opera-beta)" ]; then
|
||||||
OPERA_VERSIONS+="opera-beta"
|
OPERA_VERSIONS+=("opera-beta")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for opera in ${OPERA_VERSIONS[@]}; do
|
for opera in ${OPERA_VERSIONS[@]}; do
|
||||||
|
|||||||
Reference in New Issue
Block a user