Social instance installs
This commit is contained in:
parent
a1a448088d
commit
edf42c6123
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue