Compare commits

...

2 Commits

Author SHA1 Message Date
Steve Zabka
8629e70bfc Merge pull request #556 from GuillaumeSmaha/wine-version
Updata wine version validation for wine 10.x
2025-06-14 14:13:57 +02:00
Guillaume Smaha
48a690077f Updata wine version validation for wine 10.x 2025-06-09 11:01:22 +02:00

View File

@@ -796,7 +796,7 @@ function check_and_install_wine() {
WINE_VERSION_MINOR_RELEASE="$(echo $WINE_VERSION | cut -d '.' -f2)"
# Check if the installed wine version is at least 9.8 or higher (wine_version_series and wine_version_series_release)
if [ "$WINE_VERSION_MAJOR_RELEASE" -ge 9 ] && [ "$WINE_VERSION_MINOR_RELEASE" -ge 8 ]; then
if [ "$WINE_VERSION_MAJOR_RELEASE" -gt 9 ] || ([ "$WINE_VERSION_MAJOR_RELEASE" -eq 9 ] && [ "$WINE_VERSION_MINOR_RELEASE" -ge 8 ]); then
echo "Wine version $WINE_VERSION is installed!"
WINE_STATUS=1
else