Update install add check for Bullseye

master-updated
Alan Johnston 3 weeks ago committed by GitHub
parent 225ee4db52
commit faf6dae850
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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."

Loading…
Cancel
Save

Powered by TurnKey Linux.