this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: move update to no repo

+11 -12
+11 -12
setup.sh
··· 9 9 10 10 echo "Setting up Inky camera server from GitHub repository..." 11 11 12 - # Update system packages and install dependencies 13 - echo "Updating package lists and installing dependencies..." 14 - apt update 15 - apt install -y python3-picamera2 python3-websockets python3-rpi.gpio git 16 - 17 - # Create directory for storing photos 18 - echo "Creating photos directory..." 19 - mkdir -p /home/ink/photos 20 - chown ink:ink /home/ink/photos 21 - 22 - # Clone the repository 23 - echo "Cloning repository from GitHub..." 12 + # Check for existing repository 24 13 cd /home/ink 25 14 if [ -d "/home/ink/inky" ]; then 26 15 read -p "Repository already exists. Would you like to update it? (y/n) " -n 1 -r ··· 36 25 systemctl restart camera.service 37 26 fi 38 27 else 28 + # Update system packages and install dependencies 29 + echo "Updating package lists and installing dependencies..." 30 + apt update 31 + apt install -y python3-picamera2 python3-websockets python3-rpi.gpio git 32 + 33 + # Create directory for storing photos 34 + echo "Creating photos directory..." 35 + mkdir -p /home/ink/photos 36 + chown ink:ink /home/ink/photos 37 + 39 38 git clone https://github.com/taciturnaxolotl/inky.git 40 39 41 40 chown -R ink:ink /home/ink/inky