From 2f5a3ee09b78ec18df4e81f87644e5babb4dc2cc Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Tue, 31 Jan 2017 20:38:58 -0700 Subject: neaten the prefs file Apt.pinnedTo generates --- src/Propellor/Property/Apt.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Propellor/Property/Apt.hs') 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 -- cgit v1.2.3