Quellcode durchsuchen

Merge "Remove tralling-spaces from preferences_repo"

pull/167/head
Vasyl Saienko vor 6 Jahren
Ursprung
Commit
83d7f9708b
1 geänderte Dateien mit 11 neuen und 10 gelöschten Zeilen
  1. +11
    -10
      linux/files/preferences_repo

+ 11
- 10
linux/files/preferences_repo Datei anzeigen

@@ -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…
Abbrechen
Speichern