diff --git a/groundstation/pacsat.sh b/groundstation/pacsat.sh index 545dea57..9dcf8742 100755 --- a/groundstation/pacsat.sh +++ b/groundstation/pacsat.sh @@ -76,10 +76,15 @@ echo if [ ! -d "/home/pi/PacSatGround" ] ; then - mkdir /home/pi/PacSatGround - + sudo rm -r /home/pi/PacSatGround + cd + sudo rm PacSatGround.zip + wget https://github.com/alanbjohnston/CubeSatSim/raw/refs/heads/master-b-p-s/spacecraft/PacSatGround_0.46o/PacSatGround.zip + unzip PacSatGround.zip -d PacSatGround + sudo rm PacSatGround.zip + echo - echo "The first time you run the Ground Station, you will need to put in your callsign, add the Pacsatsim spacecraft then restart the Pacsat Ground Station" + echo "The first time you run the Ground Station, you will need to put in your callsign" sleep 10 @@ -87,10 +92,13 @@ fi if [ ! -d "/home/pi/PacSatGroundLoop" ] ; then - mkdir /home/pi/PacSatGroundLoop + sudo rm PacSatGround.zip + wget https://github.com/alanbjohnston/CubeSatSim/raw/refs/heads/master-b-p-s/spacecraft/PacSatGround_0.46o/PacSatGround.zip + unzip PacSatGround.zip -d PacSatGroundLoop + sudo rm PacSatGround.zip echo - echo "The first time you run the Ground Station, you will need to put in your callsign, add the Pacsatsim spacecraft then restart the Pacsat Ground Station" + echo "The first time you run the Ground Station, you will need to put in your callsign" sleep 10