Merge pull request #2412 from Dogacel/patch-1

fix: show proper error message on installation if OS is not supported for "archarm" / Orange Pi OS
This commit is contained in:
Andras Bacsai 2024-06-11 12:38:34 +02:00 committed by GitHub
commit b8ec3f5704
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -27,7 +27,7 @@ if [ "$OS_TYPE" = "linuxmint" ]; then
OS_TYPE="ubuntu"
fi
if [ "$OS_TYPE" = "arch" ]; then
if [ "$OS_TYPE" = "arch" ] || [ "$OS_TYPE" = "archarm" ]; then
OS_VERSION="rolling"
else
OS_VERSION=$(grep -w "VERSION_ID" /etc/os-release | cut -d "=" -f 2 | tr -d '"')