grep for 'updated' in pull

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

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

Loading…
Cancel
Save

Powered by TurnKey Linux.