support debian 12
This commit is contained in:
parent
72029df558
commit
1807f21a34
2 changed files with 5 additions and 0 deletions
|
@ -79,6 +79,11 @@ then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
DISTRIBUTION=$(awk -F= '/^ID=/ {print $2}' /etc/os-release)
|
DISTRIBUTION=$(awk -F= '/^ID=/ {print $2}' /etc/os-release)
|
||||||
|
# treat ubuntu as debian
|
||||||
|
if [ "${DISTRIBUTION}" == "ubuntu" ]
|
||||||
|
then
|
||||||
|
DISTRIBUTION="debian"
|
||||||
|
fi
|
||||||
if [ ! -f ./linux.d/${DISTRIBUTION} ]
|
if [ ! -f ./linux.d/${DISTRIBUTION} ]
|
||||||
then
|
then
|
||||||
echo "Your distribution does not appear to be currently supported by these build scripts"
|
echo "Your distribution does not appear to be currently supported by these build scripts"
|
||||||
|
|
Loading…
Reference in a new issue