reversed grep

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

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

Loading…
Cancel
Save

Powered by TurnKey Linux.