Support Debian 12 "bookworm"
This commit is contained in:
@@ -300,11 +300,11 @@ function InstallDependenciesDeb {
|
|||||||
runcmd "apt-get install -y apt-transport-https ca-certificates"
|
runcmd "apt-get install -y apt-transport-https ca-certificates"
|
||||||
printok "Installing apt-transport-https and ca-certificates packages to support https repos"
|
printok "Installing apt-transport-https and ca-certificates packages to support https repos"
|
||||||
|
|
||||||
if [[ "$OSNAME" == "Debian" ]] && [[ "$OSVERSION" =~ ^(10|11)$ ]]; then
|
if [[ "$OSNAME" == "Debian" ]] && [[ "$OSVERSION" =~ ^(10|11|12)$ ]]; then
|
||||||
echo
|
echo
|
||||||
printprog "Debian 10/11, so installing gnupg also"
|
printprog "Debian 10/11/12, so installing gnupg also"
|
||||||
runcmd "apt-get install gnupg -y"
|
runcmd "apt-get install gnupg -y"
|
||||||
printok "Debian 10/11, so installing gnupg also"
|
printok "Debian 10/11/12, so installing gnupg also"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# install setcap for non-root port binding if missing
|
# install setcap for non-root port binding if missing
|
||||||
@@ -1293,8 +1293,8 @@ function CheckOS {
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$OSNAME" == "Debian" ]] && [[ ! "$OSVERSION" =~ ^(10|11)$ ]]; then
|
if [[ "$OSNAME" == "Debian" ]] && [[ ! "$OSVERSION" =~ ^(10|11|12)$ ]]; then
|
||||||
printfail "Only Debian 10/11 supported"
|
printfail "Only Debian 10/11/12 supported"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user