Copy prosody modules to both directories

This commit is contained in:
Bob Mottram 2017-08-11 10:37:11 +01:00
parent 1d4f6fadf4
commit cfd0175f4f
1 changed files with 2 additions and 0 deletions

View File

@ -356,7 +356,9 @@ function update_prosody_modules {
mkdir -p /var/lib/prosody/prosody-modules
fi
cp -r $INSTALL_DIR/prosody-modules/* /var/lib/prosody/prosody-modules/
cp -r $INSTALL_DIR/prosody-modules/* /usr/lib/prosody/modules/
chown -R prosody:prosody /var/lib/prosody/prosody-modules
chown -R prosody:prosody /usr/lib/prosody/modules
systemctl start prosody
else
echo $'Prosody modules not extracted'