From 3efc2cb03883feac0868e5317d4b54ab6cb489e2 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Wed, 18 Mar 2026 13:24:59 -0400 Subject: [PATCH] Update pacsat.sh fix first time prints --- groundstation/pacsat.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/groundstation/pacsat.sh b/groundstation/pacsat.sh index 9dcf8742..8cd8114d 100755 --- a/groundstation/pacsat.sh +++ b/groundstation/pacsat.sh @@ -76,7 +76,6 @@ echo if [ ! -d "/home/pi/PacSatGround" ] ; then - 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 @@ -84,7 +83,7 @@ if [ ! -d "/home/pi/PacSatGround" ] ; then sudo rm PacSatGround.zip echo - echo "The first time you run the Ground Station, you will need to put in your callsign" + echo "The first time you run the Ground Station, you will need to select Yes to override files, then put in your callsign" sleep 10 @@ -92,13 +91,14 @@ fi if [ ! -d "/home/pi/PacSatGroundLoop" ] ; then + 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 PacSatGroundLoop sudo rm PacSatGround.zip echo - echo "The first time you run the Ground Station, you will need to put in your callsign" + echo "The first time you run the Ground Station, you will need to select Yes to override files, then put in your callsign" sleep 10