From daed9e4862a7c6d4d927b57f2826b3fa24e21893 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Thu, 3 Jun 2021 09:58:41 -0400 Subject: [PATCH] fixed changed --- update | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/update b/update index cd2cdaf8..a3c66f89 100755 --- a/update +++ b/update @@ -19,7 +19,7 @@ make debug FLAG=0 if [[ $(diff systemd/cubesatsim.service /etc/systemd/system/cubesatsim.service) ]]; then - echo "copying cubesatsim.service" + echo "changed cubesatsim.service" sudo cp /home/pi/CubeSatSim/systemd/cubesatsim.service /etc/systemd/system/cubesatsim.service FLAG=1 else @@ -38,7 +38,7 @@ if [ $FLAG -eq 1 ]; then echo "systemctl daemon-reload" sudo systemctl daemon-reload else - if [[ $(grep 'updated' /home/pi/CubeSatSim/.updated) ]]; then + if [[ $(grep 'changed' /home/pi/CubeSatSim/.updated) ]]; then echo "nothing to do" else echo "systemctl restart cubesatsim"