From 8a83adf7fb16373dad2df7e2b8163efda7a05dad Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sun, 6 Jun 2021 07:29:25 -0400 Subject: [PATCH] added not for SSTV image test --- update | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/update b/update index 2bb74e14..1e7a0d58 100755 --- a/update +++ b/update @@ -49,17 +49,13 @@ else fi FILE=/home/pi/CubeSatSim/sstv_image_1_320_x_256.jpg -if [ -f "$FILE" ]; then - ; -else +if [ ! -f "$FILE" ]; then echo "Copying SSTV image 1" cp /home/pi/CubeSatSim/sstv/sstv_image_1_320_x_256.jpg /home/pi/CubeSatSim/sstv_image_1_320_x_256.jpg fi FILE=/home/pi/CubeSatSim/sstv_image_2_320_x_256.jpg -if [ -f "$FILE" ]; then - ; -else +if [ ! -f "$FILE" ]; then echo "Copying SSTV image 2" cp /home/pi/CubeSatSim/sstv/sstv_image_2_320_x_256.jpg /home/pi/CubeSatSim/sstv_image_2_320_x_256.jpg fi