Updata wine version validation for wine 10.x

This commit is contained in:
Guillaume Smaha
2025-06-09 11:01:22 +02:00
committed by GitHub
parent 86e389acc3
commit 48a690077f

View File

@@ -796,7 +796,7 @@ function check_and_install_wine() {
WINE_VERSION_MINOR_RELEASE="$(echo $WINE_VERSION | cut -d '.' -f2)" 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) # 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!" echo "Wine version $WINE_VERSION is installed!"
WINE_STATUS=1 WINE_STATUS=1
else else