Change downgrade command to target version 6.14

Since that should work fine, and 6.4 isn't available in the repos for
newer Ubuntu Stable versions.
This commit is contained in:
Robbert van der Helm
2021-10-14 14:12:42 +02:00
parent c02881d5a7
commit fff2be726d
+2 -2
View File
@@ -230,7 +230,7 @@ current version of Wine Staging, then you may want to try downgrading to an
earlier version of Wine. This can be done as follows:
- On Debian, Ubuntu, Linux Mint and other apt-based distros, you can use the
command below to install Wine Staging 6.4 after you add the WineHQ
command below to install Wine Staging 6.14 after you add the WineHQ
repositories linked above. This command is a bit cryptic because on these
distros the Wine package is split up into multiple smaller packages, and the
package versions include the distros codename (e.g. `focal`, or `buster`) as
@@ -238,7 +238,7 @@ earlier version of Wine. This can be done as follows:
you want to install, and then run these commands under Bash:
```shell
version=6.4
version=6.14
variant=staging
codename=$(shopt -s nullglob; awk '/^deb https:\/\/dl\.winehq\.org/ { print $3; exit }' /etc/apt/sources.list /etc/apt/sources.list.d/*.list)
suffix=$(dpkg --compare-versions "$version" ge 6.1 && ((dpkg --compare-versions "$version" ge 6.17 && echo "-2") || echo "-1"))