mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Fix debian 11 detection on installer (#4241)
* Fix debian 11 detection Fixes #4236 * compile installer script * fix typo
This commit is contained in:
parent
2dae60292e
commit
c78e712a16
@ -73,11 +73,11 @@ root_command() {
|
|||||||
SUPPORTED=false
|
SUPPORTED=false
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
"Debian GNU/Linux" | Raspbian)
|
"Debian GNU/Linux" | "debian gnu/linux" | Raspbian)
|
||||||
if [[ $VER != "11" ]]; then
|
if [[ $VER != "11" ]]; then
|
||||||
SUPPORTED=false
|
SUPPORTED=false
|
||||||
fi
|
fi
|
||||||
OS=Debian
|
DIST_OS=debian
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "### Distribution not supported"
|
echo "### Distribution not supported"
|
||||||
|
@ -63,11 +63,11 @@ case "$OS" in
|
|||||||
SUPPORTED=false
|
SUPPORTED=false
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
"Debian GNU/Linux" | Raspbian)
|
"Debian GNU/Linux" | "debian gnu/linux" | Raspbian)
|
||||||
if [[ $VER != "11" ]]; then
|
if [[ $VER != "11" ]]; then
|
||||||
SUPPORTED=false
|
SUPPORTED=false
|
||||||
fi
|
fi
|
||||||
OS=Debian
|
DIST_OS=debian
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "### Distribution not supported"
|
echo "### Distribution not supported"
|
||||||
|
Loading…
Reference in New Issue
Block a user