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
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
}
@ -412,12 +418,13 @@ dist_setup() {
_setup debian
# Codename support
if [ -n $VERSION_CODENAME ]; then
case "$VERSION_CODENAME" in
trixie) trixie=true ;;
bookworm) bookworm=true ;;
bullseye) bullseye=true ;;
buster) buster=true ;;
esac
export $VERSION_CODENAME=$VERSION_CODENAME
# case "$VERSION_CODENAME" in
# trixie) trixie=true ;;
# bookworm) bookworm=true ;;
# bullseye) bullseye=true ;;
# buster) buster=true ;;
# esac
fi
;;
ubuntu)
@ -425,12 +432,13 @@ dist_setup() {
_setup ubuntu
# Codename support
if [ -n $VERSION_CODENAME ]; then
case "$VERSION_CODENAME" in
noble) noble=true ;;
jammy) jammy=true ;;
focal) focal=true ;;
bionic) bionic=true ;;
esac
export $VERSION_CODENAME=$VERSION_CODENAME
# case "$VERSION_CODENAME" in
# noble) noble=true ;;
# jammy) jammy=true ;;
# focal) focal=true ;;
# bionic) bionic=true ;;
# esac
fi
;;
fedora)