Browse Source

Merge pull request #39 from ze42/refresh_once

fix(apt-get-update refresh): add multiple repo, but only refresh once
tags/v0.10.0
Niels Abspoel 5 years ago
parent
commit
2c665739e1
No account linked to committer's email address
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      apt/repositories.sls

+ 10
- 0
apt/repositories.sls View File

- keyserver: {{ r_keyserver }} - keyserver: {{ r_keyserver }}
{% endif %} {% endif %}
- clean_file: true - clean_file: true
- refresh: False
- refresh_db: False
- onchanges_in:
- module: apt.refresh_db


{%- endfor %} {%- endfor %}
{% endfor %} {% endfor %}

{% if repositories %}
apt.refresh_db:
module.run:
- name: pkg.refresh_db
{% endif %}

Loading…
Cancel
Save