diff --git a/CHANGELOG.md b/CHANGELOG.md index 86f480b..c5f7b6a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ### v3.9.x - [Unreleased] +#### v3.13.0 - 2020-10-25 + #### Added - MariaDB 10.5 support (installed by default) @@ -16,6 +18,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), #### Changed - Improved Nginx caching rules to cache requests with query strings related to analytics (utm_, fbclid) +- WordOps is installed inside a Python virtual environment in /opt/wo to isolate it from the system's Python libraries #### Fixed diff --git a/install b/install index 3655f4b..3e6c8a2 100755 --- a/install +++ b/install @@ -449,7 +449,7 @@ wo_install() { cp -rf /opt/wo/lib/python3."$python_ver"/site-packages/usr/* /usr/ cp -rn /opt/wo/lib/python3."$python_ver"/site-packages/etc/* /etc/ cp -f /opt/wo/lib/python3."$python_ver"/site-packages/etc/bash_completion.d/wo_auto.rc /etc/bash_completion.d/wo_auto.rc - rm -f /usr/local/bin/wo + rm -rf /usr/local/bin/wo /usr/local/lib/python3."$python_ver"/dist-packages/{etc,usr} ln -s /opt/wo/bin/wo /usr/local/bin/ deactivate } @@ -638,7 +638,7 @@ wo_uninstall() { if { python3 -m pip list | grep -q "wordops" >/dev/null 2>&1; }; then python3 -m pip uninstall wordops -y fi - rm -rf /usr/local/lib/python3."$python_ver"/dist-packages/{pystache-*,cement-2.*,wo-*,wordops-*} /usr/local/bin/wo /etc/bash_completion.d/wo_auto.rc /var/lib/wo /etc/wo /usr/lib/wo/templates + rm -rf /usr/local/lib/python3."$python_ver"/dist-packages/{pystache-*,cement-2.*,wo-*,wordops-*} /usr/local/bin/wo /etc/bash_completion.d/wo_auto.rc /var/lib/wo /etc/wo /usr/lib/wo/templates /opt/wo } wo_clean_repo() {