Skip to content

Commit

Permalink
winetricks_wine_setup: warn for Wine versions < 8.0
Browse files Browse the repository at this point in the history
A bit late, considering 9.0 is imminent, but better late than never..
  • Loading branch information
austin987 committed Jan 5, 2024
1 parent 7c5b8dc commit a0e5811
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/winetricks
Original file line number Diff line number Diff line change
Expand Up @@ -5495,10 +5495,10 @@ winetricks_wine_setup()
# wine-2.8
_wine_version_stripped="$(echo "${WINETRICKS_WINE_VERSION}" | cut -d ' ' -f1 | sed -e 's/wine-//' -e 's/-rc.*//')"

# If WINE is < 7.0, warn user:
# 7.0 doesn't do what I thought it would
if w_wine_version_in ,6.99 ; then
w_warn "Your version of wine ${_wine_version_stripped} is no longer supported upstream. You should upgrade to 7.x"
# If WINE is < 8.0, warn user:
# 8.0 doesn't do what I thought it would
if w_wine_version_in ,7.99 ; then
w_warn "Your version of wine ${_wine_version_stripped} is no longer supported upstream. You should upgrade to 8.x"
fi

winetricks_set_wineprefix "$1"
Expand Down

0 comments on commit a0e5811

Please sign in to comment.