From 9b245165f6edf857a351f1856a64376b79e34db2 Mon Sep 17 00:00:00 2001 From: guerryer Date: Sat, 7 Dec 2024 19:22:19 -0500 Subject: [PATCH] Update install-vrcx.sh (#1016) Wine 10.0 broke the check --- Linux/install-vrcx.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Linux/install-vrcx.sh b/Linux/install-vrcx.sh index e38d9e85..f3e48002 100644 --- a/Linux/install-vrcx.sh +++ b/Linux/install-vrcx.sh @@ -14,7 +14,8 @@ set -u # Ensure Wine version >= 9.0 wine_version=$(wine --version | grep -Po '(?<=wine-)([0-9.]+)') -if [ "${1-}" != "force" ] && [[ $wine_version < 9.0 ]]; then +if [ "${1-}" != "force" ] && awk "BEGIN {exit !($wine_version < 9.0)}"; then + echo "Your Wine version: $wine_version" echo "Please upgrade your Wine version to 9.0 or higher." echo "If you want to try anyway, run: install-vrcx.sh force" exit 1