mirror of
https://github.com/Ld-Hagen/fix-opera-linux-ffmpeg-widevine.git
synced 2026-03-30 04:53:50 +03:00
Updated README, install.sh
This commit is contained in:
17
README.md
17
README.md
@@ -8,22 +8,17 @@
|
|||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
1. **curl** (Is needed for downloading the ffmpeg lib and widevine)
|
1. **curl** (is needed for downloading the ffmpeg lib and widevine)
|
||||||
|
|
||||||
**unzip** (Is needed for unpacking the downloaded file)
|
**unzip** (is needed for unpacking the downloaded file)
|
||||||
|
|
||||||
**git** (Is needed for fetching this script)
|
**git** (is needed for fetching this script)
|
||||||
|
|
||||||
**jq** (Is needed for parsing JSON from github)
|
**jq** (is needed for parsing JSON from github)
|
||||||
|
|
||||||
For Debian-based systems: `sudo apt install curl unzip git jq`
|
2. (*Optional*) **python3-dnf-plugin-post-transaction-actions** (is needed for autoupdate in RedHat-based systems)
|
||||||
|
|
||||||
For Arch-based systems: `sudo pacman -S curl unzip git jq`
|
The main installer - `install.sh` - auto-detects your distro and installs the both the appropriate and the optional requirements by itself, if they're missing.
|
||||||
|
|
||||||
For RedHat-based systems: `sudo dnf install curl unzip git jq`
|
|
||||||
|
|
||||||
3. (*Optional*) **python3-dnf-plugin-post-transaction-actions** (Is needed for autoupdate in RedHat-based systems)
|
|
||||||
`dnf install python3-dnf-plugin-post-transaction-actions`
|
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ install_deps() {
|
|||||||
apt-get install -y "${DEPS[@]}"
|
apt-get install -y "${DEPS[@]}"
|
||||||
;;
|
;;
|
||||||
dnf)
|
dnf)
|
||||||
dnf install -y "${DEPS[@]}"
|
dnf install -y "${DEPS[@]} python3-dnf-plugin-post-transaction-actions"
|
||||||
;;
|
;;
|
||||||
pacman)
|
pacman)
|
||||||
pacman -Sy --needed --noconfirm "${DEPS[@]}"
|
pacman -Sy --needed --noconfirm "${DEPS[@]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user