mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-12 18:15:40 +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:
@ -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"
|
||||
|
Reference in New Issue
Block a user