wip
This commit is contained in:
parent
3ac5d041a6
commit
85be06d7a3
1 changed files with 21 additions and 13 deletions
34
dream.sh
34
dream.sh
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue