Fixup neovim install on Debian based distros

This commit is contained in:
Kenneth Benzie 2024-05-25 18:37:22 +01:00
parent 0f0cc67e2c
commit 675a4eab18

View File

@ -75,6 +75,12 @@
asset: '{{latest.json.assets | json_query(asset_query)}}' asset: '{{latest.json.assets | json_query(asset_query)}}'
package_path: '{{package_dir}}/{{latest.json.name}}' package_path: '{{package_dir}}/{{latest.json.name}}'
- name: remove nuisance mimeinfo.cache file
become: true
file:
path: /usr/local/stow/nvim/nvim-linux64/share/applications/mimeinfo.cache
state: absent
- name: uninstall old package from /usr/local - name: uninstall old package from /usr/local
when: uninstall_required when: uninstall_required
become: true become: true
@ -117,15 +123,6 @@
path: '{{package_path}}' path: '{{package_path}}'
state: absent state: absent
- name: move man to share/man
when: install_required
become: true
command:
argv:
- mv
- '{{package_dir}}/nvim-linux64/man'
- '{{package_dir}}/nvim-linux64/share'
- name: install package to /usr/local - name: install package to /usr/local
when: install_required when: install_required
become: true become: true