From e978ba5c39b298c4a7d5f76bccbcbb37a76ab4a9 Mon Sep 17 00:00:00 2001 From: pika Date: Sun, 4 May 2025 20:43:03 +0200 Subject: [PATCH] wip --- install.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index 74f379a..93c8a10 100755 --- a/install.sh +++ b/install.sh @@ -185,10 +185,12 @@ __validate__() { case "$askFilemgr" in [yY] | yazi) cloneDots "yazi" - if command_exists curl; then - curl -fsSL https://git.k4li.de/scripts/installs/raw/branch/main/yazi.sh | bash - else - echo_warning "curl was not found, could not install yazi!" + if ! command_exists yazi; then + if command_exists curl; then + curl -fsSL https://git.k4li.de/scripts/installs/raw/branch/main/yazi.sh | bash + else + echo_warning "curl was not found, could not install yazi!" + fi fi ;; [rR] | ranger) @@ -235,6 +237,7 @@ __validate__() { __dep__() { _depss=( + "${pkgOption[@]}" "stow" "btop" "entr"