Browse Source

Add support for Explanation lines in preferences.

master
Adam Bolte 8 years ago
parent
commit
de55b167b4
No account linked to committer's email address
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      apt/preferences.sls

+ 5
- 0
apt/preferences.sls View File

- "{{ 'Package: ' ~ p_package }}" - "{{ 'Package: ' ~ p_package }}"
- "{{ 'Pin: ' ~ args.pin }}" - "{{ 'Pin: ' ~ args.pin }}"
- "{{ 'Pin-Priority: ' ~ args.priority }}" - "{{ 'Pin-Priority: ' ~ args.priority }}"
{% if 'explanation' in args %}
{% for explanation in args.explanation %}
- "{{ 'Explanation: ' ~ explanation }}"
{% endfor %}
{% endif %}
{% endfor %} {% endfor %}

Loading…
Cancel
Save