diff --git a/.idea/modules.xml b/.idea/modules.xml index 848246d..cde7d2f 100644 --- a/.idea/modules.xml +++ b/.idea/modules.xml @@ -2,7 +2,7 @@ - + \ No newline at end of file diff --git a/install.sh b/install.sh index 18e4a82..af6a0dd 100644 --- a/install.sh +++ b/install.sh @@ -8,4 +8,13 @@ sudo apt install i2c-tools sudo pip install adafruit-pca9685 sudo apt install vsftpd sudo apt install vlc -sudo modprobe bcm2835-v4l2 \ No newline at end of file +sudo modprobe bcm2835-v4l2 +if [hash pip3];then + pip install pygame + exit 0 +fi +if [hash pip];then + pip install pygame + exit 0 +fi +exit 1 \ No newline at end of file