Buster release #110
|
@ -59,6 +59,7 @@ detect_os() {
|
||||||
7) DEBIAN_RELEASE="wheezy";;
|
7) DEBIAN_RELEASE="wheezy";;
|
||||||
8) DEBIAN_RELEASE="jessie";;
|
8) DEBIAN_RELEASE="jessie";;
|
||||||
9) DEBIAN_RELEASE="stretch";;
|
9) DEBIAN_RELEASE="stretch";;
|
||||||
|
10) DEBIAN_RELEASE="buster";;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
elif [ "$(uname -s)" = "OpenBSD" ]; then
|
elif [ "$(uname -s)" = "OpenBSD" ]; then
|
||||||
|
@ -85,6 +86,9 @@ is_debian_jessie() {
|
||||||
is_debian_stretch() {
|
is_debian_stretch() {
|
||||||
test "${DEBIAN_RELEASE}" = "stretch"
|
test "${DEBIAN_RELEASE}" = "stretch"
|
||||||
}
|
}
|
||||||
|
is_debian_buster() {
|
||||||
|
test "${DEBIAN_RELEASE}" = "buster"
|
||||||
|
}
|
||||||
debian_release() {
|
debian_release() {
|
||||||
printf "%s" "${DEBIAN_RELEASE}"
|
printf "%s" "${DEBIAN_RELEASE}"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue