1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

handle pip to deb upgrades

This commit is contained in:
Jerry Vonau 2025-02-17 13:57:38 -06:00
parent b64bc95e0e
commit d0fe047538

View file

@ -66,6 +66,18 @@
when: kolibri_version_pip is defined
- block:
# handles going from pip to deb installs during --reinstall
- name: Test for {{ kolibri_exec_path }}
ansible.builtin.stat:
path: "{{ kolibri_exec_path }}"
register: sym
- name: Remove if {{ kolibri_exec_path }} is a symlink
file:
state: absent
path: "{{ kolibri_exec_path }}"
when: sym.stat.islnk is defined and sym.stat.islnk
# end test
# https://kolibri.readthedocs.io/en/latest/install/ubuntu-debian.html claims:
# "When you use the PPA installation method, upgrades to newer versions
# will be automatic, provided there is internet access available."