From d305983982666e5aef9f8a60d6b660d1f9a1ebbd Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 29 Oct 2016 23:44:57 +0100 Subject: [PATCH] Remove prosody data --- src/freedombone-app-xmpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/freedombone-app-xmpp b/src/freedombone-app-xmpp index 7788955a..a2496c81 100755 --- a/src/freedombone-app-xmpp +++ b/src/freedombone-app-xmpp @@ -284,6 +284,9 @@ function remove_xmpp { if [ -d /etc/prosody ]; then rm -rf /etc/prosody fi + if [ -d /var/lib/prosody ]; then + rm -rf /var/lib/prosody + fi remove_completion_param install_xmpp sed -i '/xmpp/d' $COMPLETION_FILE