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