Remove prosody data

This commit is contained in:
Bob Mottram 2016-10-29 23:44:57 +01:00
parent 309dbc06fb
commit d305983982
1 changed files with 3 additions and 0 deletions

View File

@ -284,6 +284,9 @@ function remove_xmpp {
if [ -d /etc/prosody ]; then if [ -d /etc/prosody ]; then
rm -rf /etc/prosody rm -rf /etc/prosody
fi fi
if [ -d /var/lib/prosody ]; then
rm -rf /var/lib/prosody
fi
remove_completion_param install_xmpp remove_completion_param install_xmpp
sed -i '/xmpp/d' $COMPLETION_FILE sed -i '/xmpp/d' $COMPLETION_FILE