Browse Source

Remove prosody data

Bob Mottram 8 years ago
parent
commit
d305983982
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      src/freedombone-app-xmpp

+ 3
- 0
src/freedombone-app-xmpp View File

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