mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-15 20:55:55 +08:00
support debian 12
This commit is contained in:
parent
72029df558
commit
1807f21a34
@ -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…
x
Reference in New Issue
Block a user