Browse Source

Update install.sh

pull/3/head
Ravi Shah 5 years ago
committed by GitHub
parent
commit
af990e63e2
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      install.sh

4
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])$ ]] if [[ "$response" =~ ^([yY][eE][sS]|[yY])$ ]]
then then
echo "Installing python3 and pip3..."
sudo apt -y install python3 python3-pip
echo "Making directory..." echo "Making directory..."
mkdir garagedoor && cd garagedoor mkdir garagedoor && cd garagedoor
sleep 0.5 sleep 0.5
echo "Installing Bottlepy..." echo "Installing Bottlepy..."
pip install bottle
pip3 install bottle
sleep 0.5 sleep 0.5
echo "Getting latest py file..." echo "Getting latest py file..."
wget https://raw.githubusercontent.com/Rav4s/Pi-Garage-Door-Opener/master/Python_script_for_garage_door.py wget https://raw.githubusercontent.com/Rav4s/Pi-Garage-Door-Opener/master/Python_script_for_garage_door.py

Loading…
Cancel
Save