From af990e63e2268f1e6a64c6681a3279a4ac58c348 Mon Sep 17 00:00:00 2001 From: Ravi Shah <63246200+Rav4s@users.noreply.github.com> Date: Sat, 31 Oct 2020 09:57:16 -0500 Subject: [PATCH] Update install.sh --- install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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