Remove old profanity package if it is present

This commit is contained in:
Bob Mottram 2016-12-19 15:42:38 +00:00
parent 7d7591f235
commit b0c494b76d
1 changed files with 4 additions and 0 deletions

View File

@ -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