@@ -119,7 +119,6 @@ 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
123122# 25.04 plucky - 2026-01
124123LATEST_SUPPORTED_UBUNTU_CODENAME=' plucky'
125124
@@ -135,31 +134,42 @@ case $distro in
135134 # Debian lacks https support for apt, by default
136135 sudo apt install apt-transport-https
137136 case " $codename " in
138- bookworm)
139- make_warn " Debian $codename is not officially supported"
140- make_warn " Installing from ubuntu-jammy repository"
141- add_repository jammy
142- ;;
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+ ;;
143147 * )
144148 make_fail " Debian $codename is not officially supported"
145149 ;;
146150 esac
147151 ;;
148- ubuntu|neon|zorin)
152+ ubuntu|neon|zorin|tuxedo|pop )
149153 case $distro in
150- neon) make_warn " Neon is not officially supported; assuming that it is equivalent to Ubuntu" ;;
151- * ) ;;
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+ ;;
152162 esac
153163 case $codename in
154- 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 )
155165 make_fail " Ubuntu $codename is not officially supported"
156166 ;;
157- jammy|noble|oracular| plucky)
167+ jammy|noble|plucky)
158168 add_repository $codename
159169 ;;
160170 * )
161171 make_warn " Ubuntu $codename is not officially supported"
162- 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 "
163173 add_repository ${LATEST_SUPPORTED_UBUNTU_CODENAME}
164174 ;;
165175 esac
@@ -168,10 +178,12 @@ case $distro in
168178 case $release in
169179 22* )
170180 make_warn " Linux Mint 22 is not officially supported"
181+ make_warn " Trying to install packages from Ubuntu noble repository"
171182 add_repository noble
172183 ;;
173184 21* )
174185 make_warn " Linux Mint 21 is not officially supported"
186+ make_warn " Trying to install packages from Ubuntu jammy repository"
175187 add_repository jammy
176188 ;;
177189 * )
@@ -183,29 +195,14 @@ case $distro in
183195 case $release in
184196 7* )
185197 make_warn " Elementary OS 7 is not officially supported"
198+ make_warn " Trying to install packages from Ubuntu jammy repository"
186199 add_repository jammy
187200 ;;
188201 * )
189202 make_fail " Elementary OS $release is not officially supported"
190203 ;;
191204 esac
192205 ;;
193- pop)
194- case $codename in
195- artful|cosmic|disco|eoan|bionic|focal)
196- make_fail " Pop!_OS $codename is not officially supported"
197- ;;
198- jammy)
199- make_warn " Pop!_OS $codename is not officially supported"
200- add_repository $codename
201- ;;
202- * )
203- make_warn " Pop!_OS $codename is not officially supported"
204- make_warn " Trying to install package for Pop!_OS ${LATEST_SUPPORTED_UBUNTU_CODENAME} "
205- add_repository ${LATEST_SUPPORTED_UBUNTU_CODENAME}
206- ;;
207- esac
208- ;;
209206 * )
210207 make_fail " $distro is not supported :("
211208 ;;
0 commit comments