From 84c77021e4ba655c10e155ec967bdf96f26f3fb1 Mon Sep 17 00:00:00 2001 From: crater2150 Date: Tue, 24 Nov 2020 22:47:03 +0100 Subject: [PATCH] install.zsh: check for correct interpreter, instead of always checking for ruby --- install.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.zsh b/install.zsh index 42dd71d..e763f55 100755 --- a/install.zsh +++ b/install.zsh @@ -6,7 +6,7 @@ typeset -A interpreter_checked have_interpreter() { if [[ ! $interpreter_checked[$1] ]]; then check "Checking for $1… " - if which ruby &> /dev/null; then + if which $1 &> /dev/null; then succeed interpreter_checked[$1]=1 return 0