fix: debian 11 backports is in archive and can block installation

pull/148/head
Anonymous 1 week ago
parent 702411aab3
commit a49899d060
  1. 5
      debi.sh

@ -215,9 +215,12 @@ has_cloud_kernel() {
# Returns 0 if available, 1 if not # Returns 0 if available, 1 if not
has_backports() { has_backports() {
case $suite in case $suite in
buster|bullseye|oldoldstable|bookworm|oldstable|trixie|stable|forky|testing) return bookworm|oldstable|trixie|stable|forky|testing) return
esac esac
# buster|bullseye|oldoldstable DO have backports, but it's in archive.debian.org now
# considering mirrors support varies and the code complexity we must accommodate, we just treat them as no backports available
warn "No backports kernel is available for $suite" warn "No backports kernel is available for $suite"
return 1 return 1

Loading…
Cancel
Save