Browse Source

Remove any local commands

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

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

307
     if [ -d /usr/lib/prosody ]; then
307
     if [ -d /usr/lib/prosody ]; then
308
         rm -rf /usr/lib/prosody
308
         rm -rf /usr/lib/prosody
309
     fi
309
     fi
310
+    if [ -f /usr/local/bin/prosody ]; then
311
+        rm /usr/local/bin/prosody
312
+    fi
313
+    if [ -f /usr/local/bin/prosodyctl ]; then
314
+        rm /usr/local/bin/prosodyctl
315
+    fi
310
     groupdel prosody
316
     groupdel prosody
311
 
317
 
312
     remove_completion_param install_xmpp
318
     remove_completion_param install_xmpp