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"