summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Apt.hs
diff options
context:
space:
mode:
authorSean Whitton2017-01-31 20:38:58 -0700
committerSean Whitton2017-01-31 20:38:58 -0700
commit2f5a3ee09b78ec18df4e81f87644e5babb4dc2cc (patch)
tree36a1aea4d011fcd794cca8073f71a12324871d1a /src/Propellor/Property/Apt.hs
parentc49aded57e0a01ed2fb3611a713f7292c619a09c (diff)
neaten the prefs file Apt.pinnedTo generates
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