@@ -40,6 +40,7 @@ check_distro()
40
40
echo $DISTRO
41
41
}
42
42
43
+ # Ubuntu 14.04
43
44
trusty_install ()
44
45
{
45
46
apt -y install gpg wget
@@ -50,6 +51,7 @@ trusty_install()
50
51
service bluecherry restart
51
52
}
52
53
54
+ # Ubuntu 18.04
53
55
bionic_install ()
54
56
{
55
57
apt update
@@ -61,6 +63,7 @@ bionic_install()
61
63
systemctl restart bluecherry
62
64
}
63
65
66
+ # Ubuntu 16.04
64
67
xenial_install ()
65
68
{
66
69
apt -y install gpg wget
@@ -71,8 +74,7 @@ xenial_install()
71
74
systemctl restart bluecherry
72
75
}
73
76
74
- # 20.04
75
-
77
+ # Ubuntu 20.04
76
78
focal_install ()
77
79
{
78
80
apt-get update
@@ -93,8 +95,7 @@ focal_install()
93
95
systemctl restart bluecherry
94
96
}
95
97
96
- # 20.10
97
-
98
+ # Ubuntu 20.10
98
99
groovy_install ()
99
100
{
100
101
apt -y install gpg wget
@@ -105,8 +106,7 @@ groovy_install()
105
106
systemctl restart bluecherry
106
107
}
107
108
108
- # 21.04
109
-
109
+ # Ubuntu 21.04
110
110
hirsute_install ()
111
111
{
112
112
apt -y install gpg wget
@@ -117,8 +117,8 @@ hirsute_install()
117
117
systemctl restart bluecherry
118
118
}
119
119
120
- # 22.04
121
-
120
+ # Ubuntu 22.04
121
+ # Also used for Mint 21.1 Vera, based on Ubuntu 22.04 Jammy
122
122
jammy_install ()
123
123
{
124
124
apt-get update
@@ -149,6 +149,7 @@ centos_7_install()
149
149
systemctl restart bluecherry
150
150
}
151
151
152
+ # Debian 8
152
153
jessie_install ()
153
154
{
154
155
apt -y install gpg wget
@@ -158,6 +159,7 @@ jessie_install()
158
159
apt-get -y install bluecherry
159
160
}
160
161
162
+ # Debian 7
161
163
wheezy_install ()
162
164
{
163
165
apt -y install gpg wget
@@ -167,6 +169,7 @@ wheezy_install()
167
169
apt-get -y install bluecherry
168
170
}
169
171
172
+ # Debian 9
170
173
stretch_install ()
171
174
{
172
175
apt -y install gpg wget
@@ -176,6 +179,7 @@ stretch_install()
176
179
apt-get -y install bluecherry
177
180
}
178
181
182
+ # Debian 10
179
183
buster_install ()
180
184
{
181
185
apt-get -y update
@@ -190,6 +194,7 @@ buster_install()
190
194
apt-get -y install mysql-server bluecherry
191
195
}
192
196
197
+ # Debian 11
193
198
bullseye_install ()
194
199
{
195
200
apt-get -y update
@@ -207,21 +212,21 @@ bullseye_install()
207
212
208
213
209
214
if [ $( check_distro) == " bionic" ]; then
210
- bionic_install
215
+ bionic_install # Ubuntu 18.04
211
216
elif [ $( check_distro) == " buster" ]; then
212
- buster_install
217
+ buster_install # Debian 10
213
218
elif [ $( check_distro) == " focal" ]; then
214
- focal_install
219
+ focal_install # Ubuntu 20.04
215
220
elif [ $( check_distro) == " jammy" ]; then
216
- jammy_install
221
+ jammy_install # Ubuntu 22.04
217
222
elif [ $( check_distro) == " vera" ]; then
218
- jammy_install
223
+ jammy_install # Mint 21.1 Vera, based on Ubuntu 22.04 Jammy
219
224
elif [ $( check_distro) == " groovy" ]; then
220
- groovy_install
225
+ groovy_install # Ubuntu 20.10
221
226
elif [ $( check_distro) == " hirsute" ]; then
222
- hirsute_install
227
+ hirsute_install # Ubuntu 21.04
223
228
elif [ $( check_distro) == " bullseye" ]; then
224
- bullseye_install
229
+ bullseye_install # Debian 11
225
230
# elif [ $(check_distro) == "centos_7" ]; then
226
231
# centos_7_install
227
232
else
0 commit comments