Fix mysql stack purge with remote db

This commit is contained in:
VirtuBox
2020-01-07 16:18:17 +01:00
parent 0d907999e8
commit 9a5b3e3368
5 changed files with 13 additions and 7 deletions

View File

@@ -430,6 +430,7 @@ wo_install() {
local python_ver
python_ver=$(python3 -c "import sys; print(sys.version_info[1])")
cd /usr/local/lib/python3."$python_ver"/dist-packages || exit 1
rm -f /usr/local/bin/wo
if [ "$wo_branch" = "master" ]; then
python3 -m pip uninstall wo -y
python3 -m pip install --upgrade wordops