Remove any local commands

This commit is contained in:
Bob Mottram 2016-12-03 18:17:41 +00:00
parent b309419a2d
commit dcb87eb63a
1 changed files with 6 additions and 0 deletions

View File

@ -307,6 +307,12 @@ function remove_xmpp {
if [ -d /usr/lib/prosody ]; then if [ -d /usr/lib/prosody ]; then
rm -rf /usr/lib/prosody rm -rf /usr/lib/prosody
fi fi
if [ -f /usr/local/bin/prosody ]; then
rm /usr/local/bin/prosody
fi
if [ -f /usr/local/bin/prosodyctl ]; then
rm /usr/local/bin/prosodyctl
fi
groupdel prosody groupdel prosody
remove_completion_param install_xmpp remove_completion_param install_xmpp