Update update check pi-power-button for beta branch

beta-aprs
Alan Johnston 1 year ago committed by GitHub
parent 01bde636d9
commit 2c4a233f61
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -159,9 +159,23 @@ fi
cd /home/pi/pi-power-button cd /home/pi/pi-power-button
git checkout reboot-mode-change-beta git checkout reboot-mode-change-beta > .updated_b
git pull --no-rebase > .updated_p grep 'error' /home/pi/pi-power-button/.updated_b
if [[ $(grep 'error' /home/pi/pi-power-button/.updated_b) ]]; then
echo "pi-power-button switching to beta branch"
git pull
git checkout reboot-mode-change-beta
script/install
FLAG=1
fi
git pull --no-rebase > .updated_p
grep 'changed' /home/pi/pi-power-button/.updated_p grep 'changed' /home/pi/pi-power-button/.updated_p
if [[ $(grep 'changed' /home/pi/pi-power-button/.updated_p) ]]; then if [[ $(grep 'changed' /home/pi/pi-power-button/.updated_p) ]]; then

Loading…
Cancel
Save

Powered by TurnKey Linux.