fixed install script

This commit is contained in:
Bryson Steck 2022-03-11 17:08:02 -07:00
parent 547e0a79df
commit 54037847b6

View file

@ -1,7 +1,8 @@
# check if correct programs are installed # check if correct programs are installed
type git npm node python3 pip3 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" 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 exit 0
else else