File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -4,11 +4,18 @@ if [[ ! -d /home/pi/omnipy ]]
44then
55
66echo
7- echo " You don't seem to have omnipy installed, please run the pi-setup.sh script first "
7+ echo " Omnipy is not installed"
88exit
99
1010fi
1111
12+ echo " Updating omnipy"
13+ cd /home/pi/omnipy
14+ git config --global user.email " omnipy@balya.net"
15+ git config --global user.name " Omnipy Setup"
16+ git stash
17+ git pull
18+
1219echo
1320echo " Stopping omnipy services"
1421sudo systemctl stop omnipy.service
@@ -19,11 +26,4 @@ sudo systemctl disable omnipy-beacon.service
1926sudo systemctl disable omnipy-pan.service
2027
2128
22- echo " Updating omnipy"
23- cd /home/pi/omnipy
24- git config --global user.email " omnipy@balya.net"
25- git config --global user.name " Omnipy Setup"
26- git stash
27- git pull
28-
2929/bin/bash /home/pi/omnipy/scripts/pi-update-finalize.sh
You can’t perform that action at this time.
0 commit comments