Update install added check for Bullseye

sim-fail-4
Alan Johnston 4 months ago committed by GitHub
parent d4b29ca3ae
commit ac71bf2f91
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -2,6 +2,17 @@
echo -e "\ninstallation script for CubeSatSim v2.2\n" echo -e "\ninstallation script for CubeSatSim v2.2\n"
cat | grep "11."
if [[ $(grep '11.' /etc/debian_version) ]]; then
echo "Installing on Debian 11 (Bullseye)"
else
echo "This is not Debian 11 (Bullseye)!"
echo "Installation is not likely to work."
echo "Recommend you start with a Bullseye."
sleep 10
fi
FILE=/home/pi/CubeSatSim/sim.cfg FILE=/home/pi/CubeSatSim/sim.cfg
if [ -f "$FILE" ]; then if [ -f "$FILE" ]; then
echo "$FILE exists." echo "$FILE exists."

Loading…
Cancel
Save

Powered by TurnKey Linux.