diff --git a/install.sh b/install.sh index 5bb7874..2aab7b8 100644 --- a/install.sh +++ b/install.sh @@ -10,11 +10,13 @@ read -r -p "Press y to acknowledge and continue running the script. [y/N] " resp if [[ "$response" =~ ^([yY][eE][sS]|[yY])$ ]] then + echo "Installing python3 and pip3..." + sudo apt -y install python3 python3-pip echo "Making directory..." mkdir garagedoor && cd garagedoor sleep 0.5 echo "Installing Bottlepy..." - pip install bottle + pip3 install bottle sleep 0.5 echo "Getting latest py file..." wget https://raw.githubusercontent.com/Rav4s/Pi-Garage-Door-Opener/master/Python_script_for_garage_door.py