Bläddra i källkod

uninstall before reinstall of omemo plugin

Bob Mottram 8 år sedan
förälder
incheckning
f4db3df364
1 ändrade filer med 1 tillägg och 0 borttagningar
  1. 1
    0
      src/freedombone-app-xmpp

+ 1
- 0
src/freedombone-app-xmpp Visa fil

@@ -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}')