fix error message not appearing in Orange OS
This commit is contained in:
parent
88581c8983
commit
2af1ccd8b2
@ -17,7 +17,7 @@ if [ "$OS_TYPE" = "manjaro" ]; then
|
|||||||
OS_TYPE="arch"
|
OS_TYPE="arch"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$OS_TYPE" = "arch" ]; then
|
if [ "$OS_TYPE" = "arch" ] || [ "$OS_TYPE" = "archarm" ]; then
|
||||||
OS_VERSION="rolling"
|
OS_VERSION="rolling"
|
||||||
else
|
else
|
||||||
OS_VERSION=$(grep -w "VERSION_ID" /etc/os-release | cut -d "=" -f 2 | tr -d '"')
|
OS_VERSION=$(grep -w "VERSION_ID" /etc/os-release | cut -d "=" -f 2 | tr -d '"')
|
||||||
|
Loading…
Reference in New Issue
Block a user