From 5d1007e1ec7704edf8c56504594d910af0553086 Mon Sep 17 00:00:00 2001 From: sorinvoicu <61691256+sorinvoicu@users.noreply.github.com> Date: Fri, 5 Apr 2024 08:15:17 +0000 Subject: [PATCH 1/6] add lychee --- scripts/install_sys_deps.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/install_sys_deps.sh b/scripts/install_sys_deps.sh index e18affa..65520ee 100755 --- a/scripts/install_sys_deps.sh +++ b/scripts/install_sys_deps.sh @@ -6,6 +6,7 @@ pkgs_to_install="\ lbzip2 \ rsync \ qpdf \ +lychee \ " apt-get update -y apt-get install -q -y ${pkgs_to_install} From 7cab01eb77bd8798869e2bcb718a5b2f66e99c96 Mon Sep 17 00:00:00 2001 From: sorinvoicu <61691256+sorinvoicu@users.noreply.github.com> Date: Fri, 5 Apr 2024 08:37:28 +0000 Subject: [PATCH 2/6] update install script --- scripts/install_sys_deps.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/install_sys_deps.sh b/scripts/install_sys_deps.sh index 65520ee..c5fcb46 100755 --- a/scripts/install_sys_deps.sh +++ b/scripts/install_sys_deps.sh @@ -6,7 +6,6 @@ pkgs_to_install="\ lbzip2 \ rsync \ qpdf \ -lychee \ " apt-get update -y apt-get install -q -y ${pkgs_to_install} @@ -15,3 +14,8 @@ apt-get install -q -y ${pkgs_to_install} apt-get autoremove -y apt-get autoclean -y rm -rf /var/lib/apt/lists/* + +# Install lychee URL checker +curl -sL "https://github.com/lycheeverse/lychee/releases/download/v0.14.3/lychee-v0.14.3-x86_64-unknown-linux-gnu.tar.gz" | tar -xvzf - && +install -t "$HOME/.local/bin" -D lychee && +rm lychee \ No newline at end of file From 637420ed45500503841ffe6e75bcdf9950f45762 Mon Sep 17 00:00:00 2001 From: sorinvoicu <61691256+sorinvoicu@users.noreply.github.com> Date: Fri, 5 Apr 2024 08:50:01 +0000 Subject: [PATCH 3/6] add curl --- scripts/install_sys_deps.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/install_sys_deps.sh b/scripts/install_sys_deps.sh index c5fcb46..4afe26e 100755 --- a/scripts/install_sys_deps.sh +++ b/scripts/install_sys_deps.sh @@ -3,6 +3,7 @@ set -e # List of system dependencies pkgs_to_install="\ +curl \ lbzip2 \ rsync \ qpdf \ From a8346b2196d72f2e1bcb9ee1f002c2903cf1e877 Mon Sep 17 00:00:00 2001 From: sorinvoicu <61691256+sorinvoicu@users.noreply.github.com> Date: Fri, 5 Apr 2024 10:24:54 +0000 Subject: [PATCH 4/6] streamline lychee install --- scripts/install_sys_deps.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/install_sys_deps.sh b/scripts/install_sys_deps.sh index 4afe26e..9cb9d73 100755 --- a/scripts/install_sys_deps.sh +++ b/scripts/install_sys_deps.sh @@ -17,6 +17,4 @@ apt-get autoclean -y rm -rf /var/lib/apt/lists/* # Install lychee URL checker -curl -sL "https://github.com/lycheeverse/lychee/releases/download/v0.14.3/lychee-v0.14.3-x86_64-unknown-linux-gnu.tar.gz" | tar -xvzf - && -install -t "$HOME/.local/bin" -D lychee && -rm lychee \ No newline at end of file +curl -sL "https://github.com/lycheeverse/lychee/releases/download/v0.14.3/lychee-v0.14.3-x86_64-unknown-linux-gnu.tar.gz" | tar -xvzf - -C "$HOME/.local/bin" \ No newline at end of file From 925821901c53f1fdb29368ee11b2b8511a86e84f Mon Sep 17 00:00:00 2001 From: sorinvoicu <61691256+sorinvoicu@users.noreply.github.com> Date: Fri, 5 Apr 2024 10:34:05 +0000 Subject: [PATCH 5/6] update extraction path --- scripts/install_sys_deps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install_sys_deps.sh b/scripts/install_sys_deps.sh index 9cb9d73..0207f8f 100755 --- a/scripts/install_sys_deps.sh +++ b/scripts/install_sys_deps.sh @@ -17,4 +17,4 @@ apt-get autoclean -y rm -rf /var/lib/apt/lists/* # Install lychee URL checker -curl -sL "https://github.com/lycheeverse/lychee/releases/download/v0.14.3/lychee-v0.14.3-x86_64-unknown-linux-gnu.tar.gz" | tar -xvzf - -C "$HOME/.local/bin" \ No newline at end of file +curl -sL "https://github.com/lycheeverse/lychee/releases/download/v0.14.3/lychee-v0.14.3-x86_64-unknown-linux-gnu.tar.gz" | tar -xvzf - -C "/usr/local/bin" \ No newline at end of file From 3523fa0f91be60843af81957d60f2743de46df65 Mon Sep 17 00:00:00 2001 From: sorinvoicu <61691256+sorinvoicu@users.noreply.github.com> Date: Fri, 5 Apr 2024 11:48:46 +0000 Subject: [PATCH 6/6] fix bash linter --- scripts/install_sys_deps.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/install_sys_deps.sh b/scripts/install_sys_deps.sh index 0207f8f..f3e2463 100755 --- a/scripts/install_sys_deps.sh +++ b/scripts/install_sys_deps.sh @@ -9,6 +9,7 @@ rsync \ qpdf \ " apt-get update -y +# shellcheck disable=SC2086 apt-get install -q -y ${pkgs_to_install} # Clean up