Skip to content

Instantly share code, notes, and snippets.

@jasonalderman
Last active October 25, 2016 04:38
Show Gist options
  • Save jasonalderman/274d4b92447a66d21a77b534cd2e9a7b to your computer and use it in GitHub Desktop.
Save jasonalderman/274d4b92447a66d21a77b534cd2e9a7b to your computer and use it in GitHub Desktop.
#!/bin/sh
# Error out if anything fails.
set -e
# Make sure script is run as root.
if [ "$(id -u)" != "0" ]; then
echo "Must be run as root with sudo! Try: sudo ./install.sh"
exit 1
fi
echo "Making a Projects Folder"
echo "=========================="
mkdir /home/pi/Projects
cd /home/pi/Projects
echo "Installing Adafruit Pi Video Looper"
echo "=========================="
git clone https://github.com/adafruit/pi_video_looper.git
cd ./pi_video_looper
./install.sh
echo "ALL DONE BYE NOW ;)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment