Skip to content
This repository was archived by the owner on Sep 11, 2025. It is now read-only.

Commit c20b28c

Browse files
Add support for plucky and debian trixie and remove oracular
Signed-off-by: Kristel Merilain <[email protected]>
1 parent bcb9c42 commit c20b28c

File tree

1 file changed

+27
-29
lines changed

1 file changed

+27
-29
lines changed

src/main/resources/static/scripts/install-web-eid.sh

Lines changed: 27 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ test_sudo
119119
# version name LTS supported until
120120
# 22.04 jammy LTS 2027-04
121121
# 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'
124124

125125
# check if Debian or Ubuntu
126126
distro=$(lsb_release -is | tr '[:upper:]' '[:lower:]')
@@ -134,31 +134,42 @@ case $distro in
134134
# Debian lacks https support for apt, by default
135135
sudo apt install apt-transport-https
136136
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+
;;
142147
*)
143148
make_fail "Debian $codename is not officially supported"
144149
;;
145150
esac
146151
;;
147-
ubuntu|neon|zorin)
152+
ubuntu|neon|zorin|tuxedo|pop)
148153
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+
;;
151162
esac
152163
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)
154165
make_fail "Ubuntu $codename is not officially supported"
155166
;;
156-
jammy|noble|oracular)
167+
jammy|noble|plucky)
157168
add_repository $codename
158169
;;
159170
*)
160171
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"
162173
add_repository ${LATEST_SUPPORTED_UBUNTU_CODENAME}
163174
;;
164175
esac
@@ -167,10 +178,12 @@ case $distro in
167178
case $release in
168179
22*)
169180
make_warn "Linux Mint 22 is not officially supported"
181+
make_warn "Trying to install packages from Ubuntu noble repository"
170182
add_repository noble
171183
;;
172184
21*)
173185
make_warn "Linux Mint 21 is not officially supported"
186+
make_warn "Trying to install packages from Ubuntu jammy repository"
174187
add_repository jammy
175188
;;
176189
*)
@@ -182,29 +195,14 @@ case $distro in
182195
case $release in
183196
7*)
184197
make_warn "Elementary OS 7 is not officially supported"
198+
make_warn "Trying to install packages from Ubuntu jammy repository"
185199
add_repository jammy
186200
;;
187201
*)
188202
make_fail "Elementary OS $release is not officially supported"
189203
;;
190204
esac
191205
;;
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-
;;
208206
*)
209207
make_fail "$distro is not supported :("
210208
;;

0 commit comments

Comments
 (0)