Warn if pleroma cannot be installed

This commit is contained in:
Bob Mottram 2017-04-02 17:35:05 +01:00
parent 4a7cecfa4f
commit 55c68abc6e
1 changed files with 4 additions and 1 deletions

View File

@ -999,7 +999,10 @@ 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"* ]]; then
echo -m $'WARNING: Pleroma currently does not support ARM '
echo $'architecture, so it will not be installed'
else
function_check install_nodejs
install_nodejs pleroma-gnusocial
install_pleroma "gnusocial" "$GNUSOCIAL_DOMAIN_NAME" "$GNUSOCIAL_BACKGROUND_IMAGE_URL" "$GNUSOCIAL_TITLE"