Disable pleroma on ARM systems

It requires node-sass which won't install on ARM
This commit is contained in:
Bob Mottram 2017-04-02 17:15:48 +01:00
parent 4286f536d0
commit 315077c693
1 changed files with 7 additions and 3 deletions

View File

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