diff --git a/update b/update index 4bb5a436..2b0cc711 100755 --- a/update +++ b/update @@ -21,7 +21,7 @@ sudo sed -i 's/update to/update\nto/g' /etc/motd cd /home/pi/pi-power-button -git pull .updated_p +git pull > .updated_p grep 'changed' /home/pi/pi-power-button/.updated_p if [[ $(grep 'changed' /home/pi/pi-power-button/.updated_p) ]]; then