-
Notifications
You must be signed in to change notification settings - Fork 0
/
update_full_tester.sh
executable file
·43 lines (37 loc) · 1.08 KB
/
update_full_tester.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/bin/bash
printf "FULL TEST updater\n"
printf "Updating the updater\n"
cd /home/pi/code/netv2-burner-updater
git pull origin master
if [ $? -ne 0 ]; then
printf "Trouble updating the updater, send this info to bunnie@alphamaxmedia.com\n"
read dummy
exit 1
fi
printf "Updating the tester\n"
cd /home/pi/code/netv2-tests
git pull origin master
if [ $? -ne 0 ]; then
printf "Trouble updating the tester, send this info to bunnie@alphamaxmedia.com\n"
read dummy
exit 1
fi
printf "Updating the tester images\n"
cd /home/pi/code/netv2-tests/bin/netv2-fpga
git pull origin tester-master
if [ $? -ne 0 ]; then
printf "Trouble updating the tester images, send this info to bunnie@alphamaxmedia.com\n"
read dummy
exit 1
fi
printf "Updating the user images\n"
cd /home/pi/code/netv2-tests/bin/netv2-fpga-userimage
git pull origin master
if [ $? -ne 0 ]; then
printf "Trouble updating the user images, send this info to bunnie@alphamaxmedia.com\n"
read dummy
exit 1
fi
printf "\nCompleted successfully, hit enter twice to close window\n"
read dummy
read dummy