remove old desktop VM-starters

This commit is contained in:
Raphael Dannecker 2024-01-30 15:17:02 +01:00
parent a18bb05551
commit fb4041b6f2
2 changed files with 34 additions and 0 deletions

View file

@ -260,6 +260,15 @@
dest: /etc/xdg/menus/applications-merged/
notify: Run update-desktop-database
- name: check if sync.desktop is installed
stat: path=/usr/local/share/applications/sync.desktop
register: syncdesktop
- name: remove deprecated desktop-files
ansible.builtin.shell: rm -f /usr/local/share/applications/*.desktop
when: not syncdesktop.stat.exists
notify: Run update-desktop-database
- name: Copy initial sync starter
ansible.builtin.copy:
src: sync.desktop