fix error message not appearing in Orange OS

This commit is contained in:
Doğaç Eldenk 2024-06-09 13:19:59 -05:00 committed by GitHub
parent 88581c8983
commit 2af1ccd8b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,7 +17,7 @@ if [ "$OS_TYPE" = "manjaro" ]; then
OS_TYPE="arch"
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 '"')