mirror of
https://github.com/inventree/InvenTree.git
synced 2026-09-09 22:30:17 +00:00
@@ -46,6 +46,7 @@ echo "### Installer for InvenTree - source: $publisher/$source_url"
|
|||||||
get_distribution
|
get_distribution
|
||||||
echo "### Detected distribution: $OS $VER"
|
echo "### Detected distribution: $OS $VER"
|
||||||
SUPPORTED=true # is this OS supported?
|
SUPPORTED=true # is this OS supported?
|
||||||
|
OLD_VERSION=false # is this an old OS that is no longer supported?
|
||||||
|
|
||||||
DIST_OS=${OS,,}
|
DIST_OS=${OS,,}
|
||||||
DIST_VER=$VER
|
DIST_VER=$VER
|
||||||
@@ -54,21 +55,30 @@ case "$OS" in
|
|||||||
Ubuntu)
|
Ubuntu)
|
||||||
if [[ $VER == "24.04" ]]; then
|
if [[ $VER == "24.04" ]]; then
|
||||||
SUPPORTED=true
|
SUPPORTED=true
|
||||||
elif [[ $VER == "22.04" ]]; then
|
elif [[ $VER == "26.04" ]]; then
|
||||||
SUPPORTED=true
|
SUPPORTED=true
|
||||||
elif [[ $VER == "20.04" ]]; then
|
elif [[ $VER == "20.04" ]]; then
|
||||||
SUPPORTED=true
|
SUPPORTED=false
|
||||||
|
OLD_VERSION=true
|
||||||
|
elif [[ $VER == "22.04" ]]; then
|
||||||
|
SUPPORTED=false
|
||||||
|
OLD_VERSION=true
|
||||||
else
|
else
|
||||||
SUPPORTED=false
|
SUPPORTED=false
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
"Debian GNU/Linux" | "debian gnu/linux" | Raspbian)
|
"Debian GNU/Linux" | "debian gnu/linux" | Raspbian)
|
||||||
if [[ $VER == "12" ]]; then
|
if [[ $VER == "13" ]]; then
|
||||||
SUPPORTED=true
|
SUPPORTED=true
|
||||||
|
elif [[ $VER == "12" ]]; then
|
||||||
|
SUPPORTED=false
|
||||||
|
OLD_VERSION=true
|
||||||
elif [[ $VER == "11" ]]; then
|
elif [[ $VER == "11" ]]; then
|
||||||
SUPPORTED=true
|
SUPPORTED=false
|
||||||
|
OLD_VERSION=true
|
||||||
elif [[ $VER == "10" ]]; then
|
elif [[ $VER == "10" ]]; then
|
||||||
SUPPORTED=true
|
SUPPORTED=false
|
||||||
|
OLD_VERSION=true
|
||||||
else
|
else
|
||||||
SUPPORTED=false
|
SUPPORTED=false
|
||||||
fi
|
fi
|
||||||
@@ -82,6 +92,11 @@ esac
|
|||||||
|
|
||||||
if [[ $SUPPORTED != "true" ]]; then
|
if [[ $SUPPORTED != "true" ]]; then
|
||||||
echo "This OS is currently not supported."
|
echo "This OS is currently not supported."
|
||||||
|
|
||||||
|
if [[ $OLD_VERSION == "true" ]]; then
|
||||||
|
echo "The detected version ($OS $VER) is no longer supported but a newer version is."
|
||||||
|
fi
|
||||||
|
|
||||||
echo "Please install manually using https://docs.inventree.org/en/stable/start/install/"
|
echo "Please install manually using https://docs.inventree.org/en/stable/start/install/"
|
||||||
echo "or check https://github.com/inventree/InvenTree/issues/3836 for packaging for your OS."
|
echo "or check https://github.com/inventree/InvenTree/issues/3836 for packaging for your OS."
|
||||||
echo "If you think this is a bug please file an issue at"
|
echo "If you think this is a bug please file an issue at"
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ The InvenTree installer automates the installation procedure for a production In
|
|||||||
|
|
||||||
The installer supports the following Linux distributions:
|
The installer supports the following Linux distributions:
|
||||||
|
|
||||||
- Debian 11, 12
|
- Debian 13
|
||||||
- Ubuntu 22.04 LTS, 24.04 LTS
|
- Ubuntu 24.04 LTS, 26.04 LTS
|
||||||
|
|
||||||
Support for other OS versions is not currently planned. If you are using a different distribution, you can still follow the [docker](./docker.md) or [bare metal](./install.md) installation instructions.
|
Support for other OS versions is not currently planned. If you are using a different distribution, you can still follow the [docker](./docker.md) or [bare metal](./install.md) installation instructions.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user