More robust udate of prosody modules
This commit is contained in:
parent
3ec1ea9ec1
commit
27ee88c57f
|
@ -297,10 +297,6 @@ function update_prosody_modules {
|
||||||
chown -R prosody:prosody /var/lib/prosody/prosody-modules
|
chown -R prosody:prosody /var/lib/prosody/prosody-modules
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd /var/lib/prosody/prosody-modules
|
|
||||||
hg pull
|
|
||||||
hg update
|
|
||||||
|
|
||||||
# change to using pep rather than profile modules
|
# change to using pep rather than profile modules
|
||||||
if grep '"profile"' /etc/prosody/prosody.cfg.lua; then
|
if grep '"profile"' /etc/prosody/prosody.cfg.lua; then
|
||||||
sed -i 's|"profile"|"pep"|g' /etc/prosody/prosody.cfg.lua
|
sed -i 's|"profile"|"pep"|g' /etc/prosody/prosody.cfg.lua
|
||||||
|
|
Loading…
Reference in New Issue