Replace microblog domain name
This commit is contained in:
parent
7a52f575ac
commit
b49c45841b
|
@ -199,7 +199,7 @@ MICROBLOG_ADMIN_PASSWORD=
|
|||
GNUSOCIAL_COMMIT='94392ab00ceefec6105ac7d6e6846fb644bbd0f1'
|
||||
MICROBLOG_THEME_REPO="https://git.gnu.io/h2p/Qvitter.git"
|
||||
MICROBLOG_THEME_COMMIT='8abbdeb3c0a6a34754411452ae832d2f19cef7ab'
|
||||
MICROBLOG_WELCOME_MESSAGE=$"<h1>Welcome to ${MICROBLOG_DOMAIN_NAME} – a federated microblog</h1><p>Another Freedombone site</p>"
|
||||
MICROBLOG_WELCOME_MESSAGE=$'<h1>Welcome to $MICROBLOG_DOMAIN_NAME – a federated microblog</h1><p>Another Freedombone site</p>'
|
||||
|
||||
# Domain name for hubzilla installation
|
||||
HUBZILLA_DOMAIN_NAME=
|
||||
|
@ -8621,6 +8621,7 @@ function install_gnu_social_theme {
|
|||
|
||||
microblog_config_file=/var/www/$MICROBLOG_DOMAIN_NAME/htdocs/config.php
|
||||
if ! grep -q "addPlugin('Qvitter')" $microblog_config_file; then
|
||||
MICROBLOG_WELCOME_MESSAGE=$(echo $MICROBLOG_WELCOME_MESSAGE | sed 's|\$MICROBLOG_DOMAIN_NAME|$MICROBLOG_DOMAIN_NAME|g')
|
||||
echo "" >> $microblog_config_file
|
||||
echo "// Qvitter settings" >> $microblog_config_file
|
||||
echo "addPlugin('Qvitter');" >> $microblog_config_file
|
||||
|
|
Loading…
Reference in New Issue