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:
parent
b64bc95e0e
commit
d0fe047538
1 changed files with 12 additions and 0 deletions
|
@ -66,6 +66,18 @@
|
||||||
when: kolibri_version_pip is defined
|
when: kolibri_version_pip is defined
|
||||||
|
|
||||||
- block:
|
- 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:
|
# https://kolibri.readthedocs.io/en/latest/install/ubuntu-debian.html claims:
|
||||||
# "When you use the PPA installation method, upgrades to newer versions
|
# "When you use the PPA installation method, upgrades to newer versions
|
||||||
# will be automatic, provided there is internet access available."
|
# will be automatic, provided there is internet access available."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue