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