瀏覽代碼

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 年之前
父節點
當前提交
2c665739e1
No account linked to committer's email address
共有 1 個文件被更改,包括 10 次插入0 次删除
  1. +10
    -0
      apt/repositories.sls

+ 10
- 0
apt/repositories.sls 查看文件

@@ -76,6 +76,16 @@
- keyserver: {{ r_keyserver }}
{% endif %}
- clean_file: true
- refresh: False
- refresh_db: False
- onchanges_in:
- module: apt.refresh_db

{%- endfor %}
{% endfor %}

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

Loading…
取消
儲存