diff --git a/src/freedombone-config b/src/freedombone-config index 2b49f387..4e4abaac 100755 --- a/src/freedombone-config +++ b/src/freedombone-config @@ -1135,6 +1135,24 @@ function interactive_config { choose_email_address interactive_key_recovery + if [[ "$SOCIALINSTANCE" == 'gnusocial' ]]; then + GNUSOCIAL_DOMAIN_NAME=$DEFAULT_DOMAIN_NAME + GNUSOCIAL_CODE=$DEFAULT_DOMAIN_CODE + write_config_param "GNUSOCIAL_DOMAIN_NAME" "$GNUSOCIAL_DOMAIN_NAME" + write_config_param "GNUSOCIAL_CODE" "$GNUSOCIAL_CODE" + write_config_param "SOCIALINSTANCE" "$SOCIALINSTANCE" + install_gnusocial + fi + + if [[ "$SOCIALINSTANCE" == 'postactiv' ]]; then + POSTACTIV_DOMAIN_NAME=$DEFAULT_DOMAIN_NAME + POSTACTIV_CODE=$DEFAULT_DOMAIN_CODE + write_config_param "POSTACTIV_DOMAIN_NAME" "$POSTACTIV_DOMAIN_NAME" + write_config_param "POSTACTIV_CODE" "$POSTACTIV_CODE" + write_config_param "SOCIALINSTANCE" "$SOCIALINSTANCE" + install_postactiv + fi + # delete the temporary configuration file if [ -f temp.cfg ]; then shred -zu temp.cfg