From 8659d9f92e5d869ea6404428497915752ef87239 Mon Sep 17 00:00:00 2001
From: lganee <ludovic.ganee@libriciel.coop>
Date: Thu, 13 Mar 2025 17:26:13 +0100
Subject: [PATCH] rar compatibility

---
 src/Utility/Check.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Utility/Check.php b/src/Utility/Check.php
index d1697abda..ba095ba53 100644
--- a/src/Utility/Check.php
+++ b/src/Utility/Check.php
@@ -119,7 +119,7 @@ abstract class Check
         'rar' => [ // RAR 5.50   Copyright (c) 1993-2017 Alexander Roshal   11 Aug 2017
             'command' => 'rar -?',
             'regex' => '/RAR (\d+\.\d+(?:\.\d)?(?:\.\d)?)/',
-            'constrain' => '^5.40',
+            'constrain' => '^5.40 || ^6.0 || ^7.0',
         ],
         'sf' => [ // siegfried 1.9.1
             'command' => 'sf --version',
-- 
GitLab