mirror of
https://github.com/Ld-Hagen/fix-opera-linux-ffmpeg-widevine.git
synced 2025-12-29 03:23:00 +03:00
Fixed Arch system check
This commit is contained in:
@@ -91,7 +91,7 @@ fi
|
|||||||
for opera in ${OPERA_VERSIONS[@]}; do
|
for opera in ${OPERA_VERSIONS[@]}; do
|
||||||
echo "Doing $opera"
|
echo "Doing $opera"
|
||||||
EXECUTABLE=$(command -v "$opera")
|
EXECUTABLE=$(command -v "$opera")
|
||||||
if [[ $ARCH_SYSTEM -eq true ]]; then
|
if [[ "$ARCH_SYSTEM" == true ]]; then
|
||||||
OPERA_DIR=$(dirname $(cat $EXECUTABLE | grep exec | cut -d ' ' -f 2))
|
OPERA_DIR=$(dirname $(cat $EXECUTABLE | grep exec | cut -d ' ' -f 2))
|
||||||
else
|
else
|
||||||
OPERA_DIR=$(dirname $(readlink -f $EXECUTABLE))
|
OPERA_DIR=$(dirname $(readlink -f $EXECUTABLE))
|
||||||
|
|||||||
Reference in New Issue
Block a user