fixed install script
This commit is contained in:
parent
547e0a79df
commit
54037847b6
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Reference in a new issue