diff --git a/update b/update index c98bf161..937ef9be 100755 --- a/update +++ b/update @@ -182,7 +182,7 @@ git pull > .updated_p FLAG=1 fi -if [ ! -d "/home/pi/CubeSatSim/telem_string.txt" ]; then +if [ ! -f "/home/pi/CubeSatSim/telem_string.txt" ]; then sudo apt-get update && sudo apt-get dist-upgrade -y