Remove directory

This commit is contained in:
Bob Mottram 2016-12-03 18:00:14 +00:00
parent 5c7ac4e375
commit b309419a2d
1 changed files with 4 additions and 1 deletions

View File

@ -304,6 +304,9 @@ function remove_xmpp {
if [ -d /var/lib/prosody ]; then
rm -rf /var/lib/prosody
fi
if [ -d /usr/lib/prosody ]; then
rm -rf /usr/lib/prosody
fi
groupdel prosody
remove_completion_param install_xmpp
@ -633,7 +636,7 @@ function install_xmpp_main {
cp /etc/ssl/certs/xmpp.* /etc/prosody/certs
cp /etc/ssl/private/xmpp.* /etc/prosody/certs
chown -R prosody:default /etc/prosody
chown -R prosody /etc/prosody
update_default_domain
xmpp_create_config