Setting title
This commit is contained in:
parent
5ae8b62849
commit
f449878573
|
@ -240,6 +240,8 @@ function pleroma_set_title {
|
|||
write_config_param "PLEROMA_TITLE" "$PLEROMA_TITLE"
|
||||
cd /var/www/$PLEROMA_DOMAIN_NAME/htdocs/static
|
||||
sed -i "s|\"name\":.*|\"name\": \"${PLEROMA_TITLE}\",|g" config.json
|
||||
sed -i "s|name: .*|name: \"${PLEROMA_TITLE}\",|g" $PLEROMA_DIR/config/config.exs
|
||||
systemctl restart pleroma
|
||||
dialog --title $"Set Pleroma title" \
|
||||
--msgbox $"The title has been set" 6 60
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue