From 02072ce58bd4cba6b93a9d665a3436cd39d67d65 Mon Sep 17 00:00:00 2001 From: pika Date: Sun, 25 May 2025 13:01:10 +0200 Subject: [PATCH] might work now.. --- ly.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/ly.sh b/ly.sh index 7521fb5..5675231 100644 --- a/ly.sh +++ b/ly.sh @@ -205,7 +205,7 @@ return 69 fi - cd ly || echo-error "cannot cd into ly" && exit 69 + cd ly || echo-error "cannot cd into ly" } build-ly() { @@ -248,11 +248,12 @@ get-zig fi - if get-ly; then - if build-ly; then - line - check "Installed ly successfully!" - fi + get-ly + build-ly + + if command_exists ly; then + line + check "Installed ly successfully!" fi ;; *)