More robust udate of prosody modules

This commit is contained in:
Bob Mottram 2017-04-14 19:33:15 +01:00
parent 3ec1ea9ec1
commit 27ee88c57f
1 changed files with 0 additions and 4 deletions

View File

@ -297,10 +297,6 @@ function update_prosody_modules {
chown -R prosody:prosody /var/lib/prosody/prosody-modules
fi
cd /var/lib/prosody/prosody-modules
hg pull
hg update
# change to using pep rather than profile modules
if grep '"profile"' /etc/prosody/prosody.cfg.lua; then
sed -i 's|"profile"|"pep"|g' /etc/prosody/prosody.cfg.lua