소스 검색

Warn if pleroma cannot be installed

Bob Mottram 8 년 전
부모
커밋
55c68abc6e
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 4
    1
      src/freedombone-app-gnusocial

+ 4
- 1
src/freedombone-app-gnusocial 파일 보기

@@ -999,7 +999,10 @@ function install_gnusocial {
999 999
 
1000 1000
     # Currently Pleroma won't install on ARM systems
1001 1001
     # because it uses node-sass which doesn't support ARM
1002
-    if [[ "$(arch)" != "arm"* ]]; then
1002
+    if [[ "$(arch)" == "arm"* ]]; then
1003
+        echo -m $'WARNING: Pleroma currently does not support ARM '
1004
+        echo $'architecture, so it will not be installed'
1005
+    else
1003 1006
         function_check install_nodejs
1004 1007
         install_nodejs pleroma-gnusocial
1005 1008
         install_pleroma "gnusocial" "$GNUSOCIAL_DOMAIN_NAME" "$GNUSOCIAL_BACKGROUND_IMAGE_URL" "$GNUSOCIAL_TITLE"