Bladeren bron

Merge "Remove tralling-spaces from preferences_repo"

pull/167/head
Vasyl Saienko 6 jaren geleden
bovenliggende
commit
83d7f9708b
1 gewijzigde bestanden met toevoegingen van 11 en 10 verwijderingen
  1. +11
    -10
      linux/files/preferences_repo

+ 11
- 10
linux/files/preferences_repo Bestand weergeven

@@ -1,18 +1,19 @@
{%- from "linux/map.jinja" import system with context %}
{%- set repo = system.repo[repo_name] %}
{%- if repo.pinning is defined %}
{%- for id,pin in repo.pinning|dictsort %}
{%- if pin.get('enabled', False) %}
{%- from "linux/map.jinja" import system with context -%}
{%- set repo = system.repo[repo_name] -%}
{%- if repo.pinning is defined -%}
{%- for id,pin in repo.pinning|dictsort -%}
{% if pin.get('enabled', False) %}

Package: {{ pin.get('package','*') }}
Pin: {{ pin.pin }}
Pin-Priority: {{ pin.priority }}
{%- endif %}
{% endfor %}
{%- elif repo.pin is defined %}
{%- for pin in repo.pin %}
{%- endfor -%}
{%- elif repo.pin is defined -%}
{%- for pin in repo.pin -%}
{%- set package = pin.get('package', '*') %}
Package: {{ package }}
Pin: {{ pin.pin }}
Pin-Priority: {{ pin.priority }}
{% endfor %}
{%- endif %}
{%- endfor %}
{%- endif -%}

Laden…
Annuleren
Opslaan