From 880d3e64a283a4187cffb6c4bd89ca723cd522fc Mon Sep 17 00:00:00 2001 From: Lars The Date: Fri, 12 Jan 2024 12:30:51 +0100 Subject: [PATCH] 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 33003c02..3ffcb5bc 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