From 48a690077f889f5e9b7aa659c4ed49c9ee42be7c Mon Sep 17 00:00:00 2001 From: Guillaume Smaha Date: Mon, 9 Jun 2025 11:01:22 +0200 Subject: [PATCH] Updata wine version validation for wine 10.x --- files/setup/autodesk_fusion_installer_x86-64.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/setup/autodesk_fusion_installer_x86-64.sh b/files/setup/autodesk_fusion_installer_x86-64.sh index ca692d3..7f76343 100755 --- a/files/setup/autodesk_fusion_installer_x86-64.sh +++ b/files/setup/autodesk_fusion_installer_x86-64.sh @@ -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