From 95e58c74c8ede05630600f09d0da2cfb59d21907 Mon Sep 17 00:00:00 2001 From: Julius Date: Tue, 4 Dec 2018 10:59:48 +0100 Subject: [PATCH] Install script improvement - switched to output checking --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 531fe66..ca33457 100644 --- a/install.sh +++ b/install.sh @@ -9,7 +9,7 @@ sudo pip install adafruit-pca9685 sudo apt install vsftpd sudo apt install vlc sudo modprobe bcm2835-v4l2 -if [hash pip3];then +if [[hash pip3]];then pip install pygame exit 0 fi