mirror of
https://github.com/Ld-Hagen/fix-opera-linux-ffmpeg-widevine.git
synced 2025-12-29 11:33:00 +03:00
First run after install. Some fixes
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
1. **wget** (Is needed for downloading the ffmpeg lib and Chrome)
|
1. **wget** (Is needed for downloading the ffmpeg lib and widevine)
|
||||||
```sudo apt install wget```
|
```sudo apt install wget```
|
||||||
|
|
||||||
2. **unzip** (Is needed for unpacking the downloaded file)
|
2. **unzip** (Is needed for unpacking the downloaded file)
|
||||||
@@ -32,4 +32,4 @@
|
|||||||
|
|
||||||
5. Delete the repo
|
5. Delete the repo
|
||||||
|
|
||||||
```rm -rf ./fix-opera-linux-ffmpeg-widevine```
|
```cd .. && rm -rf ./fix-opera-linux-ffmpeg-widevine```
|
||||||
|
|||||||
15
install.sh
15
install.sh
@@ -72,6 +72,7 @@ done
|
|||||||
|
|
||||||
mkdir -p $INSTALL_PATH
|
mkdir -p $INSTALL_PATH
|
||||||
cp -f $SCRIPT_PATH/scripts/fix-opera.sh $INSTALL_PATH
|
cp -f $SCRIPT_PATH/scripts/fix-opera.sh $INSTALL_PATH
|
||||||
|
chmod +x $INSTALL_PATH/fix-opera.sh
|
||||||
|
|
||||||
printf "Would you like to create an alias for user $USER_NAME? [y/n]"
|
printf "Would you like to create an alias for user $USER_NAME? [y/n]"
|
||||||
while read CREATE_ALIAS; do
|
while read CREATE_ALIAS; do
|
||||||
@@ -101,3 +102,17 @@ while read CREATE_HOOK; do
|
|||||||
continue;;
|
continue;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
printf "Would you like to run it now? [y/n]"
|
||||||
|
while read RUN_NOW; do
|
||||||
|
case $RUN_NOW in
|
||||||
|
"y" | "Y")
|
||||||
|
$INSTALL_PATH/fix-opera.sh
|
||||||
|
break;;
|
||||||
|
"n" | "N")
|
||||||
|
break;;
|
||||||
|
* )
|
||||||
|
printf "Would you like to run it now? [y/n]"
|
||||||
|
continue;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user