Procházet zdrojové kódy

Disable pleroma on ARM systems

It requires node-sass which won't install on ARM
Bob Mottram před 8 roky
rodič
revize
315077c693
1 změnil soubory, kde provedl 7 přidání a 3 odebrání
  1. 7
    3
      src/freedombone-app-gnusocial

+ 7
- 3
src/freedombone-app-gnusocial Zobrazit soubor

997
     #install_gnusocial_plugin_sharings_theme
997
     #install_gnusocial_plugin_sharings_theme
998
     #install_gnusocial_plugin_nsfw
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
     # unleash the daemons!
1008
     # unleash the daemons!
1005
     /etc/cron.hourly/gnusocial-daemons
1009
     /etc/cron.hourly/gnusocial-daemons