From cabdb08ea9e8516e283eb4eeac8b1b3c6c50fe4a Mon Sep 17 00:00:00 2001
From: Olivier Maury <olivier.maury@inrae.fr>
Date: Wed, 13 Sep 2023 11:20:36 +0200
Subject: [PATCH 1/2] Utiliser la version musl de lychee.

---
 bin/tool-dependencies.sh | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/bin/tool-dependencies.sh b/bin/tool-dependencies.sh
index e212709..8937b4f 100755
--- a/bin/tool-dependencies.sh
+++ b/bin/tool-dependencies.sh
@@ -9,11 +9,12 @@ function echo_bold_red {
 BIN_DIR=$(dirname $0)
 
 if [ ! -f $BIN_DIR/lychee ]; then
-	LYCHEETGZ=lychee-v0.12.0-x86_64-unknown-linux-gnu.tar.gz
+	VERSION=0.13.0    
+	LYCHEETGZ=lychee-v${VERSION}-x86_64-unknown-linux-musl.tar.gz 
 	echo_bold_green "Getting Lychee to check pages"
 	mkdir -p $BIN_DIR
 	if [ ! -f $BIN_DIR/$LYCHEETGZ ]; then
-		wget "https://github.com/lycheeverse/lychee/releases/download/v0.12.0/$LYCHEETGZ" -O $BIN_DIR/$LYCHEETGZ
+		wget "https://github.com/lycheeverse/lychee/releases/download/${VERSION}/$LYCHEETGZ" -O $BIN_DIR/$LYCHEETGZ
 	fi
 	tar zxf $BIN_DIR/$LYCHEETGZ -C $BIN_DIR
 fi
-- 
GitLab


From 2f7542af31f91ebea0f99facf74dec4d0568e493 Mon Sep 17 00:00:00 2001
From: Olivier Maury <olivier.maury@inrae.fr>
Date: Wed, 13 Sep 2023 11:23:03 +0200
Subject: [PATCH 2/2] Typo

---
 bin/tool-dependencies.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/tool-dependencies.sh b/bin/tool-dependencies.sh
index 8937b4f..d4fb4ea 100755
--- a/bin/tool-dependencies.sh
+++ b/bin/tool-dependencies.sh
@@ -9,8 +9,8 @@ function echo_bold_red {
 BIN_DIR=$(dirname $0)
 
 if [ ! -f $BIN_DIR/lychee ]; then
-	VERSION=0.13.0    
-	LYCHEETGZ=lychee-v${VERSION}-x86_64-unknown-linux-musl.tar.gz 
+	VERSION=v0.13.0    
+	LYCHEETGZ=lychee-${VERSION}-x86_64-unknown-linux-musl.tar.gz 
 	echo_bold_green "Getting Lychee to check pages"
 	mkdir -p $BIN_DIR
 	if [ ! -f $BIN_DIR/$LYCHEETGZ ]; then
-- 
GitLab