Parcourir la source

Merge "Remove tralling-spaces from preferences_repo"

pull/167/head
Vasyl Saienko il y a 6 ans
Parent
révision
83d7f9708b
1 fichiers modifiés avec 11 ajouts et 10 suppressions
  1. +11
    -10
      linux/files/preferences_repo

+ 11
- 10
linux/files/preferences_repo Voir le fichier

@@ -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 -%}

Chargement…
Annuler
Enregistrer