Просмотр исходного кода

Disable pleroma on ARM systems

It requires node-sass which won't install on ARM
Bob Mottram 8 лет назад
Родитель
Сommit
315077c693
1 измененных файлов: 7 добавлений и 3 удалений
  1. 7
    3
      src/freedombone-app-gnusocial

+ 7
- 3
src/freedombone-app-gnusocial Просмотреть файл

@@ -997,9 +997,13 @@ function install_gnusocial {
997 997
     #install_gnusocial_plugin_sharings_theme
998 998
     #install_gnusocial_plugin_nsfw
999 999
 
1000
-    function_check install_nodejs
1001
-    install_nodejs pleroma-gnusocial
1002
-    install_pleroma "gnusocial" "$GNUSOCIAL_DOMAIN_NAME" "$GNUSOCIAL_BACKGROUND_IMAGE_URL" "$GNUSOCIAL_TITLE"
1000
+    # Currently Pleroma won't install on ARM systems
1001
+    # because it uses node-sass which doesn't support ARM
1002
+    if [[ "$(arch)" != "arm*" ]]; then
1003
+        function_check install_nodejs
1004
+        install_nodejs pleroma-gnusocial
1005
+        install_pleroma "gnusocial" "$GNUSOCIAL_DOMAIN_NAME" "$GNUSOCIAL_BACKGROUND_IMAGE_URL" "$GNUSOCIAL_TITLE"
1006
+    fi
1003 1007
 
1004 1008
     # unleash the daemons!
1005 1009
     /etc/cron.hourly/gnusocial-daemons