mirror of
https://github.com/Ld-Hagen/fix-opera-linux-ffmpeg-widevine.git
synced 2025-12-29 03:23:00 +03:00
First try to implement auto-fix after upgrade
This commit is contained in:
30
README.md
30
README.md
@@ -9,6 +9,7 @@
|
||||
* [Requirements](#Requirements)
|
||||
* [How use](#How-use)
|
||||
* [Create an alias](#Create-an-alias)
|
||||
* [Autostart after upgrade](#Autostart-after-upgrade)
|
||||
|
||||
### Requirements
|
||||
|
||||
@@ -65,3 +66,32 @@
|
||||
7. Delete the repo
|
||||
|
||||
```rm -rf ./fix-opera-linux-ffmpeg-widevine```
|
||||
### Autostart after upgrade
|
||||
|
||||
1. Clone this repo
|
||||
|
||||
```git clone https://github.com/Ld-Hagen/fix-opera-linux-ffmpeg-widevine.git```
|
||||
|
||||
2. Create a **script** folder on **/root**
|
||||
|
||||
```sudo mkdir /root/.scripts```
|
||||
|
||||
3. Copy the script into the **script** folder
|
||||
|
||||
```sudo cp ./fix-opera-linux-ffmpeg-widevine/fix-opera.sh /root/.scripts```
|
||||
|
||||
4. Give execute permissions to the script file
|
||||
|
||||
```chmod +x /root/.scripts/fix-opera.sh```
|
||||
|
||||
5. Copy apt config file into the **script** folder
|
||||
|
||||
```sudo cp ./fix-opera-linux-ffmpeg-widevine/99fix-opera /root/.scripts```
|
||||
|
||||
6. Create symlink
|
||||
|
||||
```sudo ln -s /root/.scripts/99fix-opera /etc/apt/apt.conf.d/```
|
||||
|
||||
7. Delete the repo
|
||||
|
||||
```rm -rf ./fix-opera-linux-ffmpeg-widevine```
|
||||
|
||||
Reference in New Issue
Block a user