pull/88/head
alanbjohnston 5 years ago committed by GitHub
parent daed9e4862
commit e49e95f200
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -38,10 +38,11 @@ if [ $FLAG -eq 1 ]; then
echo "systemctl daemon-reload" echo "systemctl daemon-reload"
sudo systemctl daemon-reload sudo systemctl daemon-reload
else else
grep 'changed' /home/pi/CubeSatSim/.updated
if [[ $(grep 'changed' /home/pi/CubeSatSim/.updated) ]]; then if [[ $(grep 'changed' /home/pi/CubeSatSim/.updated) ]]; then
echo "nothing to do"
else
echo "systemctl restart cubesatsim" echo "systemctl restart cubesatsim"
sudo systemctl restart cubesatsim sudo systemctl restart cubesatsim
else
echo "nothing to do"
fi fi
fi fi

Loading…
Cancel
Save

Powered by TurnKey Linux.