mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-06-24 12:57:31 +02:00
Also consider weird setups when downgrading Wine
Somehow some people manually add the repository to some list in `/etc/apt/sources.list.d/` instead of following the instructions from WineHQ's website, but they then also don't know their distro's codename.
This commit is contained in:
@@ -233,7 +233,7 @@ Wine. This can be done as follows:
|
|||||||
|
|
||||||
```shell
|
```shell
|
||||||
version=6.4
|
version=6.4
|
||||||
codename=$(awk '/^deb https:\/\/dl\.winehq\.org/ { print $3 }' /etc/apt/sources.list)
|
codename=$(shopt -s nullglob; awk '/^deb https:\/\/dl\.winehq\.org/ { print $3; exit }' /etc/apt/sources.list /etc/apt/sources.list.d/*.list)
|
||||||
sudo apt install --install-recommends {winehq-staging,wine-staging,wine-staging-amd64,wine-staging-i386}=$version~$codename-1
|
sudo apt install --install-recommends {winehq-staging,wine-staging,wine-staging-amd64,wine-staging-i386}=$version~$codename-1
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user