@@ -200,6 +200,10 @@ function upgrade_xmpp {
systemctl restart prosody
# update profanity client
+ if [ -f /usr/bin/profanity ]; then
+ apt-get -y remove --purge profanity
+ fi
+
function_check set_repo_commit
set_repo_commit $INSTALL_DIR/libmesode "libmesode commit" "$LIBMESODE_COMMIT" $LIBMESODE_REPO
cd $INSTALL_DIR/libmesode