Update install update pi-power-button to master-b branch

master-b-n
Alan Johnston 2 months ago committed by GitHub
parent 7c3770c051
commit 6c09133fcb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -480,8 +480,17 @@ fi
cd /home/pi/pi-power-button
if [ ! $(git branch --show-current | grep master-b) ]; then
echo "updating branch of pi-power-button to master-b."
git pull
git checkout master-b
script/install
FLAG=1
fi
git pull --no-rebase > .updated_p
git checkout master
#git checkout master
grep 'changed' /home/pi/pi-power-button/.updated_p
if [[ $(grep 'changed' /home/pi/pi-power-button/.updated_p) ]]; then

Loading…
Cancel
Save

Powered by TurnKey Linux.