From 67ccb082cb57cc5481ed3bf7aa24a25d5eb5f0fd Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sat, 7 Oct 2017 11:02:51 -0600 Subject: [PATCH] Update environment.sh --- debian/resources/environment.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/debian/resources/environment.sh b/debian/resources/environment.sh index 7bce9a9..5735d34 100755 --- a/debian/resources/environment.sh +++ b/debian/resources/environment.sh @@ -62,6 +62,18 @@ if [ .$cpu_architecture = .'arm' ]; then switch_source=true switch_package=false fi +elif [ .$cpu_architecture = .'aarch64' ]; then + if [ .$os_mode = .'32' ]; then + verbose "Correct CPU and Operating System detected, using the ARM repo" + elif [ .$os_mode = .'64' ]; then + error "You are using a 64bit arm OS this is unsupported" + switch_source=true + switch_package=false + else + error "Unknown OS mode $os_mode this is unsupported" + switch_source=true + switch_package=false + fi elif [ .$cpu_architecture = .'x86' ]; then if [ .$os_mode = .'32' ]; then error "You are using a 32bit OS this is unsupported"