Fix architecture detection

Previously aarch64 would be detected as valid system while it is not yet supported.
This commit is contained in:
Istiak Ferdous 2021-09-09 01:20:11 +06:00
parent 270889bdec
commit 088ad7379e
2 changed files with 4 additions and 4 deletions

View File

@ -253,8 +253,8 @@ else
fi
if ! uname -m | grep -q 64 ; then
echo -e "x64 system is required...\n"
if ! uname -m | grep -q x86_64 ; then
echo -e "x86_64 system is required...\n"
exit
fi

View File

@ -108,8 +108,8 @@ if [[ ! -f /etc/os-release ]] ; then
exit
fi
if ! uname -m | grep -q 64 ; then
echo -e "x64 system is required...\n"
if ! uname -m | grep -q x86_64 ; then
echo -e "x86_64 system is required...\n"
exit
fi