瀏覽代碼

apt: Bundle all file remove statements.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>
Maximilian Wilhelm 6 年之前
父節點
當前提交
e49c1ec7d8
共有 1 個文件被更改,包括 5 次插入3 次删除
  1. 5 3
      apt/init.sls

+ 5 - 3
apt/init.sls

@@ -16,9 +16,6 @@ apt-transport-https:
 python-apt:
   pkg.installed
 
-ffpb-repo:
-  file.absent:
-    - name: /etc/apt/sources.list.d/freifunk.list
 
 ffho-repo-jessie:
   pkgrepo.managed:
@@ -37,6 +34,11 @@ ffho-repo-jessie:
     - require:
       - pkg: python-apt
 
+
+# Purge old stuff
+/etc/apt/sources.list.d/freifunk.list:
+  file.absent
+
 /etc/apt/sources.list.d/universe-factory.list:
   file.absent