From 54037847b6a81c3a44ed433e7c4219115c1b4245 Mon Sep 17 00:00:00 2001 From: Bryson Steck Date: Fri, 11 Mar 2022 17:08:02 -0700 Subject: fixed install script --- install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 89d8071..459f39e 100755 --- a/install.sh +++ b/install.sh @@ -1,7 +1,8 @@ # check if correct programs are installed type git npm node python3 pip3 +ERROR="$?" -if [[ $! -ne 0 ]]; then +if [[ ERROR -ne 0 ]]; then echo "install: one or more of the above programs are not installed. the programs in question have lines that end in \"not found\". please make sure that these programs are installed through your package manager" exit 0 else -- cgit v1.2.3