Sfoglia il codice sorgente

Merge pull request #43 from FHE3/fix-apt-conf-number

also pass check when opt_data is a number
tags/v0.7.0
Niels Abspoel 5 anni fa
parent
commit
29c8a43e12
Nessun account collegato all'indirizzo email del committer
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      apt/templates/apt_conf.jinja

+ 1
- 1
apt/templates/apt_conf.jinja Vedi File

@@ -11,7 +11,7 @@
{%- endmacro -%}
// This file is managed by salt
{%- for opt, opt_data in data|dictsort -%}
{%- if opt_data is string %}
{%- if opt_data is string or opt_data is number %}
{{ opt }} "{{ opt_data }}";
{%- elif opt_data is mapping %}
{{ opt }}

Loading…
Annulla
Salva