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 be9f5d7620
commit d1c35717c5
2 changed files with 4 additions and 4 deletions

View File

@ -248,8 +248,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