From 919e4b49e6c9031e95444133e6ca43be63d2ea7a Mon Sep 17 00:00:00 2001
From: Bob Mottram <bob@freedombone.net>
Date: Tue, 19 Sep 2017 19:46:38 +0100
Subject: [PATCH] Don't try to install pleroma on 64bit arm

---
 src/freedombone-app-gnusocial | 2 +-
 src/freedombone-app-postactiv | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/freedombone-app-gnusocial b/src/freedombone-app-gnusocial
index 2d51c5edc..08fd52443 100755
--- a/src/freedombone-app-gnusocial
+++ b/src/freedombone-app-gnusocial
@@ -903,7 +903,7 @@ function install_gnusocial {
 
     # Currently Pleroma won't install on ARM systems
     # because it uses node-sass which doesn't support ARM
-    if [[ "$(arch)" == "arm"* ]]; then
+    if [[ "$(arch)" == "arm"* || "$(arch)" == "aarch"* ]]; then
         echo -m $'WARNING: Pleroma currently does not support ARM '
         echo $'architecture, so it will not be installed'
     else
diff --git a/src/freedombone-app-postactiv b/src/freedombone-app-postactiv
index 57c06889a..86bb87369 100755
--- a/src/freedombone-app-postactiv
+++ b/src/freedombone-app-postactiv
@@ -921,7 +921,7 @@ function install_postactiv {
 
     # Currently Pleroma won't install on ARM systems
     # because it uses node-sass which doesn't support ARM
-    if [[ "$(arch)" == "arm"* ]]; then
+    if [[ "$(arch)" == "arm"* || "$(arch)" == "aarch"* ]]; then
         echo -m $'WARNING: Pleroma currently does not support ARM '
         echo $'architecture, so it will not be installed'
     else
-- 
GitLab