Skip to content
Snippets Groups Projects
Commit f2524741 authored by Bob Mottram's avatar Bob Mottram
Browse files

Ensure that PEP gets fixed after an upgrade

parent 40ec74c3
No related branches found
No related tags found
No related merge requests found
......@@ -158,6 +158,14 @@ function update_prosody_modules {
cd /var/lib/prosody/prosody-modules
hg pull
hg update
# change to using profile rather than pep and vcard modules
if grep '"pep"' /etc/prosody/prosody.cfg.lua; then
if grep '"vcard"' /etc/prosody/prosody.cfg.lua; then
sed -i 's|"pep"|"profile"|g' /etc/prosody/prosody.cfg.lua
sed -i '/"vcard"/d' /etc/prosody/prosody.cfg.lua
fi
fi
}
function upgrade_xmpp_server {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment