From 640c1181856663d95fdc616c85affd2ffc11cb8d Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 9 Feb 2025 14:18:07 -0500 Subject: [PATCH] Update fctelem.sh fix directory detect --- groundstation/fctelem.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/groundstation/fctelem.sh b/groundstation/fctelem.sh index 82a2bd6c..87386622 100755 --- a/groundstation/fctelem.sh +++ b/groundstation/fctelem.sh @@ -52,7 +52,7 @@ sudo systemctl stop openwebrx # FILE=/home/pi/CubeSatSim/groundstation/public_html FILE=/home/pi/CubeSatSim/fctelem/public_html -if [ -f "$FILE" ]; then +if [ ! -d "$FILE" ]; then echo "Making public_html directory" mkdir /home/pi/fctelem/public_html mkdir /home/pi/fctelem/public_html/images