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
|
||||
fi
|
||||
;;
|
||||
"Debian GNU/Linux" | Raspbian)
|
||||
"Debian GNU/Linux" | "debian gnu/linux" | Raspbian)
|
||||
if [[ $VER != "11" ]]; then
|
||||
SUPPORTED=false
|
||||
fi
|
||||
OS=Debian
|
||||
DIST_OS=debian
|
||||
;;
|
||||
*)
|
||||
echo "### Distribution not supported"
|
||||
|
@ -63,11 +63,11 @@ case "$OS" in
|
||||
SUPPORTED=false
|
||||
fi
|
||||
;;
|
||||
"Debian GNU/Linux" | Raspbian)
|
||||
"Debian GNU/Linux" | "debian gnu/linux" | Raspbian)
|
||||
if [[ $VER != "11" ]]; then
|
||||
SUPPORTED=false
|
||||
fi
|
||||
OS=Debian
|
||||
DIST_OS=debian
|
||||
;;
|
||||
*)
|
||||
echo "### Distribution not supported"
|
||||
|
Loading…
Reference in New Issue
Block a user