@@ -119,8 +119,8 @@ test_sudo
119
119
# version name LTS supported until
120
120
# 22.04 jammy LTS 2027-04
121
121
# 24.04 noble LTS 2029-04
122
- # 24.10 oracular - 2025-07
123
- LATEST_SUPPORTED_UBUNTU_CODENAME=' oracular '
122
+ # 25.04 plucky - 2026-01
123
+ LATEST_SUPPORTED_UBUNTU_CODENAME=' plucky '
124
124
125
125
# check if Debian or Ubuntu
126
126
distro=$( lsb_release -is | tr ' [:upper:]' ' [:lower:]' )
@@ -134,31 +134,42 @@ case $distro in
134
134
# Debian lacks https support for apt, by default
135
135
sudo apt install apt-transport-https
136
136
case " $codename " in
137
- bookworm)
138
- make_warn " Debian $codename is not officially supported"
139
- make_warn " Installing from ubuntu-jammy repository"
140
- add_repository jammy
141
- ;;
137
+ trixie)
138
+ make_warn " Debian $codename is not officially supported"
139
+ make_warn " Trying to install packages from Ubuntu plucky repository"
140
+ add_repository plucky
141
+ ;;
142
+ bookworm)
143
+ make_warn " Debian $codename is not officially supported"
144
+ make_warn " Trying to install packages from Ubuntu jammy repository"
145
+ add_repository jammy
146
+ ;;
142
147
* )
143
148
make_fail " Debian $codename is not officially supported"
144
149
;;
145
150
esac
146
151
;;
147
- ubuntu|neon|zorin)
152
+ ubuntu|neon|zorin|tuxedo|pop )
148
153
case $distro in
149
- neon) make_warn " Neon is not officially supported; assuming that it is equivalent to Ubuntu" ;;
150
- * ) ;;
154
+ neon|zorin|tuxedo)
155
+ make_warn " $distro is not officially supported; assuming that it is equivalent to Ubuntu"
156
+ ;;
157
+ pop)
158
+ make_warn " Pop!_OS is not officially supported; assuming that it is equivalent to Ubuntu"
159
+ ;;
160
+ * )
161
+ ;;
151
162
esac
152
163
case $codename in
153
- utopic|vivid|wily|trusty|artful|cosmic|disco|xenial|eoan|groovy|hirsute|impish|bionic|zorin|kinetic|lunar|mantic|focal)
164
+ utopic|vivid|wily|trusty|artful|cosmic|disco|xenial|eoan|groovy|hirsute|impish|bionic|zorin|kinetic|lunar|mantic|focal|oracular )
154
165
make_fail " Ubuntu $codename is not officially supported"
155
166
;;
156
- jammy|noble|oracular )
167
+ jammy|noble|plucky )
157
168
add_repository $codename
158
169
;;
159
170
* )
160
171
make_warn " Ubuntu $codename is not officially supported"
161
- make_warn " Trying to install package for Ubuntu ${LATEST_SUPPORTED_UBUNTU_CODENAME} "
172
+ make_warn " Trying to install packages from Ubuntu ${LATEST_SUPPORTED_UBUNTU_CODENAME} repository "
162
173
add_repository ${LATEST_SUPPORTED_UBUNTU_CODENAME}
163
174
;;
164
175
esac
@@ -167,10 +178,12 @@ case $distro in
167
178
case $release in
168
179
22* )
169
180
make_warn " Linux Mint 22 is not officially supported"
181
+ make_warn " Trying to install packages from Ubuntu noble repository"
170
182
add_repository noble
171
183
;;
172
184
21* )
173
185
make_warn " Linux Mint 21 is not officially supported"
186
+ make_warn " Trying to install packages from Ubuntu jammy repository"
174
187
add_repository jammy
175
188
;;
176
189
* )
@@ -182,29 +195,14 @@ case $distro in
182
195
case $release in
183
196
7* )
184
197
make_warn " Elementary OS 7 is not officially supported"
198
+ make_warn " Trying to install packages from Ubuntu jammy repository"
185
199
add_repository jammy
186
200
;;
187
201
* )
188
202
make_fail " Elementary OS $release is not officially supported"
189
203
;;
190
204
esac
191
205
;;
192
- pop)
193
- case $codename in
194
- artful|cosmic|disco|eoan|bionic|focal)
195
- make_fail " Pop!_OS $codename is not officially supported"
196
- ;;
197
- jammy)
198
- make_warn " Pop!_OS $codename is not officially supported"
199
- add_repository $codename
200
- ;;
201
- * )
202
- make_warn " Pop!_OS $codename is not officially supported"
203
- make_warn " Trying to install package for Pop!_OS ${LATEST_SUPPORTED_UBUNTU_CODENAME} "
204
- add_repository ${LATEST_SUPPORTED_UBUNTU_CODENAME}
205
- ;;
206
- esac
207
- ;;
208
206
* )
209
207
make_fail " $distro is not supported :("
210
208
;;
0 commit comments