Parcourir la source

uninstall before reinstall of omemo plugin

Bob Mottram il y a 8 ans
Parent
révision
f4db3df364
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1
    0
      src/freedombone-app-xmpp

+ 1
- 0
src/freedombone-app-xmpp Voir le fichier

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