From 6b81b1f84a33e33d4312ca627d445fb3c9136829 Mon Sep 17 00:00:00 2001 From: Tk-Glitch Date: Mon, 5 Sep 2022 18:51:12 +0200 Subject: [PATCH] linux58-514: Fix graysky's more-uarches patch check --- linux-tkg-config/prepare | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux-tkg-config/prepare b/linux-tkg-config/prepare index 87b071f..d44ceba 100644 --- a/linux-tkg-config/prepare +++ b/linux-tkg-config/prepare @@ -452,7 +452,7 @@ _tkg_srcprep() { elif [ "$_basever" = "57" ]; then _outdated="outdated_versions/" _patch_name="enable_additional_cpu_optimizations_for_gcc_v10.1%2B_kernel_v5.7" - elif (( 58 <= "$_basever" && "$_basever" <= 514 && "$_basever" != 6* )); then + elif (( 58 <= "$_basever" && "$_basever" <= 514 )) && [[ "$_basever" != 6* ]]; then _patch_name="more-uarches-for-kernel-5.8-5.14" elif [[ "$_basever" =~ ^(515|516)$ ]]; then _patch_name="more-uarches-for-kernel-5.15-5.16"