From 9581147942358571c32011611ace229956844040 Mon Sep 17 00:00:00 2001 From: pika Date: Sat, 3 May 2025 18:02:34 +0200 Subject: [PATCH] script improvements --- install.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/install.sh b/install.sh index d828742..4eba8ef 100755 --- a/install.sh +++ b/install.sh @@ -236,6 +236,26 @@ __dep__() { if ! instZellij; then echo_error "Something went wrong.. Please look for the installation yourself!" echo "Documentation: https://zellij.dev/documentation/installation.html#third-party-repositories" + + sleep 2 + + echo_error "Trying to install with binary approach.." + + echo ".." + sleep 0.3 + echo ".." + sleep 0.3 + echo ".." + sleep 0.3 + echo ".." + sleep 0.3 + echo ".." + + local buildDir="$(mktemp -d)" + cd $buildDir || echo_error "Something went wrong!" && return 1 + wget https://github.com/zellij-org/zellij/releases/download/v0.42.2/zellij-x86_64-unknown-linux-musl.tar.gz + tar -xfz zellij*.tar.gz + $_sudo cp zellij /bin/zellij fi fi }