This commit is contained in:
pika 2025-05-23 21:24:10 +02:00
parent 3ac5d041a6
commit 85be06d7a3

View file

@ -396,7 +396,13 @@ get_packager() {
sleep 1 sleep 1
run fallback && check "Got packager.." || throw "No chance helping you now buddy!" if run fallback; then
upclear
check "Got packager.."
else
upclear
throw "No chance helping you now buddy!"
fi
fi fi
} }
@ -412,12 +418,13 @@ dist_setup() {
_setup debian _setup debian
# Codename support # Codename support
if [ -n $VERSION_CODENAME ]; then if [ -n $VERSION_CODENAME ]; then
case "$VERSION_CODENAME" in export $VERSION_CODENAME=$VERSION_CODENAME
trixie) trixie=true ;; # case "$VERSION_CODENAME" in
bookworm) bookworm=true ;; # trixie) trixie=true ;;
bullseye) bullseye=true ;; # bookworm) bookworm=true ;;
buster) buster=true ;; # bullseye) bullseye=true ;;
esac # buster) buster=true ;;
# esac
fi fi
;; ;;
ubuntu) ubuntu)
@ -425,12 +432,13 @@ dist_setup() {
_setup ubuntu _setup ubuntu
# Codename support # Codename support
if [ -n $VERSION_CODENAME ]; then if [ -n $VERSION_CODENAME ]; then
case "$VERSION_CODENAME" in export $VERSION_CODENAME=$VERSION_CODENAME
noble) noble=true ;; # case "$VERSION_CODENAME" in
jammy) jammy=true ;; # noble) noble=true ;;
focal) focal=true ;; # jammy) jammy=true ;;
bionic) bionic=true ;; # focal) focal=true ;;
esac # bionic) bionic=true ;;
# esac
fi fi
;; ;;
fedora) fedora)