uninstall before reinstall of omemo plugin

This commit is contained in:
Bob Mottram 2017-02-09 21:58:40 +00:00
parent 7f0a93e467
commit f4db3df364
1 changed files with 1 additions and 0 deletions

View File

@ -366,6 +366,7 @@ function upgrade_xmpp_client {
set_repo_commit $INSTALL_DIR/profanity-omemo-plugin "profanity omemo plugin commit" "$PROFANITY_OMEMO_PLUGIN_COMMIT" $PROFANITY_OMEMO_PLUGIN_REPO
cd $INSTALL_DIR/profanity-omemo-plugin
sed -i 's|python setup.py|python2.7 setup.py|g' $INSTALL_DIR/profanity-omemo-plugin/install.sh
pip uninstall profanity-omemo-plugin
./install.sh
for d in /home/*/ ; do
USERNAME=$(echo "$d" | awk -F '/' '{print $3}')