From ee2291a59cc0cf994161ffcf3a5ea96949bf2258 Mon Sep 17 00:00:00 2001 From: pika Date: Wed, 21 May 2025 20:12:27 +0200 Subject: [PATCH] testing.. --- neovim.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/neovim.sh b/neovim.sh index 7cf2212..eb90262 100644 --- a/neovim.sh +++ b/neovim.sh @@ -32,6 +32,8 @@ sleep 0.3 rm "$import" # echo_warning "cleaned $import" + + source-script "https://git.k4li.de/scripts/beddu/raw/branch/main/dist/beddu.sh" } getDependencies() { @@ -66,6 +68,7 @@ } cloneSources() { + local err cloneDir="$(mktemp -d)" # echo_pkg git "Cloning $PACKAGE sources at $cloneDir/neovim.." @@ -74,14 +77,15 @@ if command_exists git; then spin yellow "Cloning $PACKAGE sources at $cloneDir/neovim.." sleep 1 - if run git clone --depth=1 https://github.com/neovim/neovim.git; then - cd neovim || throw "Cannot navigate into neovim" - + if run --err err git clone --depth=1 https://github.com/neovim/neovim.git; then check "Cloned sources" line + + cd neovim || throw "Cannot navigate into neovim" # pen ${output:-} else throw "Cannot clone the repo.." + pen bold red "The error: $err" fi else echo_error "Git was required, but is missing.. exiting now" @@ -154,7 +158,6 @@ } if getImports; then - source-script "https://git.k4li.de/scripts/beddu/raw/branch/main/dist/beddu.sh" # ─< package variable >─────────────────────────────────────────────────────────────────── unset PACKAGE