Use /usr/pkg for MATE panel prefix on NetBSD

This commit is contained in:
Anthony Rose 2019-11-28 16:23:19 +00:00
parent ae972fcd62
commit 7d41be114a

View file

@ -5,7 +5,7 @@
src: mate-acp.layout src: mate-acp.layout
dest: "{{ prefix }}/share/mate-panel/layouts/acp.layout" dest: "{{ prefix }}/share/mate-panel/layouts/acp.layout"
vars: vars:
prefix: "{{ '/usr' if ansible_system == 'Linux' else '/usr/local' }}" prefix: "{{ '/usr' if ansible_system == 'Linux' else '/usr/pkg' if ansible_system == 'NetBSD' else '/usr/local' }}"
- name: Set default panel layout - name: Set default panel layout
dconf: dconf:
key: /org/mate/panel/general/default-layout key: /org/mate/panel/general/default-layout