blob: fee0db68456b3dfa411bf6ca9371107831aa5fdd (
plain)
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
#! /bin/bash
cat << "EOF"
________________
/ \
| Welkome to |
| the robotics |
| linux setup |
| script!! |
\_____ _______/
| /
| /
|/
\|/
-----------
| |
| ~ 0 |
| |
| \_____/ |
-----------
__/ \__
/ \ / \
/ |[] | | \
/ /| | |\ \
| | | | | | |
| | | | | | |
|__| | | |__|
{ } ==={}=== { }
/||\ | || | /||\
| || |
| || |
| || |
| || |
/--- || ---\
/______/ \______\
EOF
sleep 2
while true; do
read -p "Please select (1)The automatic setup script, (2)The guided setup script or (3)Exit this script)? [1]/[2]/[3]: " chpw
case $chpw in
1|a*|A*)
sh -c "$(curl -sSL https://github.com/mendelcollege-robotics/robotica/blob/main/setup/recoscr.sh)"
;;
2|g*|G*)
sh -c "$(curl -sSL https://github.com/mendelcollege-robotics/robotica/blob/main/setup/selectscr.sh)"
;;
3|e*|E*)
;;
*)
echo 'Unrecognised input, please try again'
;;
esac
done
|