From faf6dae850ef48126da16fa4c2217afc6800c298 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 16 Jan 2026 11:05:13 -0500 Subject: [PATCH] Update install add check for Bullseye --- install | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/install b/install index 4351b8e1..b11493ce 100755 --- a/install +++ b/install @@ -2,6 +2,23 @@ echo -e "\ninstallation script for CubeSatSim v2.1\n" +if [[ $(grep 'bullseye' /etc/os-release) ]]; then + echo "Bullseye detected, installation continuing." +else + echo "Your Pi OS version is not Bullseye." + echo "The software installation will likely not work." + echo "See the README.md for how to install using Bullseye." + echo + + echo "Are you sure you want to continue the installation (y/n)?" + + read -r ANS + + if [ "$ANS" = "n" ]; then + exit 1 + fi +fi + FILE=/home/pi/CubeSatSim/sim.cfg if [ -f "$FILE" ]; then echo "$FILE exists."