From 880d3e64a283a4187cffb6c4bd89ca723cd522fc Mon Sep 17 00:00:00 2001 From: Lars The Date: Fri, 12 Jan 2024 12:30:51 +0100 Subject: [PATCH 1/2] Fix install with unsupported tar -z Some tar binaries (like the one from busybox in buildroot) have troubles with "tar -z" parameters. This patch overcomes the problem calling to gzip prior to tar. --- scripts/install_update_linux.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/install_update_linux.sh b/scripts/install_update_linux.sh index 33003c025..3ffcb5bca 100755 --- a/scripts/install_update_linux.sh +++ b/scripts/install_update_linux.sh @@ -19,6 +19,7 @@ GITHUB_URL="https://github.com/jesseduffield/lazydocker/releases/download/${GITH # install/update the local binary curl -L -o lazydocker.tar.gz $GITHUB_URL -tar xzvf lazydocker.tar.gz lazydocker +#tar xzvf lazydocker.tar.gz lazydocker +gzip -dc lazydocker.tar.gz | tar xf - lazydocker install -Dm 755 lazydocker -t "$DIR" rm lazydocker lazydocker.tar.gz From 4dc79c296ca6e90104a29d65f619d344e4618761 Mon Sep 17 00:00:00 2001 From: Lars The Date: Mon, 15 Jan 2024 15:02:44 +0100 Subject: [PATCH 2/2] Update install_update_linux.sh Missing verbose parameter in tar --- scripts/install_update_linux.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install_update_linux.sh b/scripts/install_update_linux.sh index 3ffcb5bca..e9465ae02 100755 --- a/scripts/install_update_linux.sh +++ b/scripts/install_update_linux.sh @@ -20,6 +20,6 @@ GITHUB_URL="https://github.com/jesseduffield/lazydocker/releases/download/${GITH # install/update the local binary curl -L -o lazydocker.tar.gz $GITHUB_URL #tar xzvf lazydocker.tar.gz lazydocker -gzip -dc lazydocker.tar.gz | tar xf - lazydocker +gzip -dc lazydocker.tar.gz | tar xvf - lazydocker install -Dm 755 lazydocker -t "$DIR" rm lazydocker lazydocker.tar.gz