Update install.sh

This commit is contained in:
星光-k
2025-01-09 01:05:38 +08:00
committed by GitHub
parent a36907bfa5
commit 7b96f1203d

View File

@@ -39,12 +39,12 @@ deb https://mirrors.cernet.edu.cn/debian-security bullseye-security main contrib
# # deb-src https://security.debian.org/debian-security bullseye-security main contrib non-free
EOF
sudo apt-get update
sudo apt install -y git
sudo apt-get install -y git
sudo apt-get install -y netcat*
sudo apt-get install -y python3-pip
sudo apt-get install -y python3-pil
sudo apt-get install -y python3-numpy
sudo apt install -y python3-gpiozero
sudo apt-get install -y python3-gpiozero
sudo pip3 install spidev borax pillow requests --break-system-packages
;;
12*)
@@ -74,12 +74,12 @@ deb https://mirrors.cernet.edu.cn/debian-security bookworm-security main contrib
# # deb-src https://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
EOF
sudo apt-get update
sudo apt install -y git
sudo apt-get install -y git
sudo apt-get install -y netcat*
sudo apt-get install -y python3-pip
sudo apt-get install -y python3-pil
sudo apt-get install -y python3-numpy
sudo apt install -y python3-gpiozero
sudo apt-get install -y python3-gpiozero
sudo pip3 install spidev borax pillow requests --break-system-packages
;;
*)