Skip to content

Commit

Permalink
Fix architecture detection
Browse files Browse the repository at this point in the history
Previously aarch64 would be detected as valid system while it is not yet supported.
  • Loading branch information
istiak101 committed Sep 8, 2021
1 parent 270889b commit 088ad73
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cyberpanel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions cyberpanel_upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 088ad73

Please sign in to comment.