summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Apt.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Propellor/Property/Apt.hs')
-rw-r--r--src/Propellor/Property/Apt.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Propellor/Property/Apt.hs b/src/Propellor/Property/Apt.hs
index eb74dc89..f3c21f98 100644
--- a/src/Propellor/Property/Apt.hs
+++ b/src/Propellor/Property/Apt.hs
@@ -272,10 +272,11 @@ pinnedTo'
-> (DebianSuite, PinPriority)
-> RevertableProperty UnixLike UnixLike
pinnedTo' p (suite, pin) =
- "/etc/apt/preferences.d/10propellor" `File.containsBlock`
+ "/etc/apt/preferences.d/10propellor.pref" `File.containsBlock`
[ "Package: " ++ p
, "Pin: release " ++ suitePin suite
, "Pin-Priority: " ++ show pin
+ , ""
]
-- TODO should be RevertableProperty Debian Debian