浏览代码

Always uninstall

Bob Mottram 8 年前
父节点
当前提交
75dd7c5fd2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/freedombone-app-xmpp

+ 1
- 1
src/freedombone-app-xmpp 查看文件

376
     set_repo_commit $INSTALL_DIR/profanity-omemo-plugin "profanity omemo plugin commit" "$PROFANITY_OMEMO_PLUGIN_COMMIT" $PROFANITY_OMEMO_PLUGIN_REPO
376
     set_repo_commit $INSTALL_DIR/profanity-omemo-plugin "profanity omemo plugin commit" "$PROFANITY_OMEMO_PLUGIN_COMMIT" $PROFANITY_OMEMO_PLUGIN_REPO
377
     cd $INSTALL_DIR/profanity-omemo-plugin
377
     cd $INSTALL_DIR/profanity-omemo-plugin
378
     sed -i 's|python setup.py|python2.7 setup.py|g' $INSTALL_DIR/profanity-omemo-plugin/install.sh
378
     sed -i 's|python setup.py|python2.7 setup.py|g' $INSTALL_DIR/profanity-omemo-plugin/install.sh
379
-    pip uninstall profanity-omemo-plugin
379
+    pip uninstall -y profanity-omemo-plugin
380
     ./install.sh
380
     ./install.sh
381
     for d in /home/*/ ; do
381
     for d in /home/*/ ; do
382
         USERNAME=$(echo "$d" | awk -F '/' '{print $3}')
382
         USERNAME=$(echo "$d" | awk -F '/' '{print $3}')