Update build.func

arm64 support maybe?
This commit is contained in:
ArchemedIan 2023-09-02 07:16:53 -04:00 committed by GitHub
parent dfc583d531
commit 51b4231094
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 4 deletions

View File

@ -69,10 +69,11 @@ pve_check() {
# This function checks the system architecture and exits if it's not "amd64". # This function checks the system architecture and exits if it's not "amd64".
arch_check() { arch_check() {
if [ "$(dpkg --print-architecture)" != "amd64" ]; then if [ "$(dpkg --print-architecture)" != "amd64" ]; then
echo -e "\n ${CROSS} This script will not work with PiMox! \n" echo -e "\n ${CROSS} Expiramental arm64 support enabled \n"
echo -e "Exiting..." #echo -e "Exiting..."
sleep 2 sleep 5
exit #exit
arm64ct="yes"
fi fi
} }