1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-14 20:22:08 +00:00

Touch-ups for: scripts/install_python2_kalite-venv_u2404.sh

This commit is contained in:
root 2024-03-06 13:26:47 -05:00
parent 6819123fed
commit 73e94abe3f
2 changed files with 3 additions and 4 deletions

View file

@ -63,8 +63,8 @@
extra_args: "--no-cache-dir"
when: not (is_ubuntu_2404 is defined and is_ubuntu_2404)
- name: Use scripts/U2404_python2.sh to install python2 and virtualenv
command: bash "{{ iiab_dir }}/scripts/U2404_python2.sh"
- name: Run scripts/install_python2_kalite-venv_u2404.sh if Ubuntu 24.04
command: bash "{{ iiab_dir }}/scripts/install_python2_kalite-venv_u2404.sh"
when: is_ubuntu_2404 is defined and is_ubuntu_2404
- name: "Install from templates: venv wrapper /usr/bin/kalite, unit file /etc/systemd/system/kalite-serve.service"

View file

@ -33,7 +33,7 @@ virtualenv --always-copy --pip 20.3.4 --setuptools 44.1.1 --no-wheel -p python2.
cd /usr/local/kalite/venv
source bin/activate
bin/pip install ka-lite-static --no-python-version-warning --no-cache-dir
bin/pip install ka-lite-static --no-python-version-warning --no-cache-dir
deactivate
#apt -y remove `apt list *python2* | grep installed | awk -F / '{ print $1 }'`
@ -45,4 +45,3 @@ apt -y remove libmpdec3 python3-pip python3-wheel
apt update
apt -y upgrade