From c01b693e655ce146e8be281b2dda93a64a7d4bca Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 27 Dec 2015 15:21:01 +0000 Subject: Add convenience .installed for lightdm. Signed-off-by: Jelmer Vernooij --- src/Propellor/Property/LightDM.hs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Propellor/Property/LightDM.hs b/src/Propellor/Property/LightDM.hs index bc5ef22a..75e3b19a 100644 --- a/src/Propellor/Property/LightDM.hs +++ b/src/Propellor/Property/LightDM.hs @@ -5,8 +5,12 @@ module Propellor.Property.LightDM where import Propellor.Base +import qualified Propellor.Property.Apt as Apt import qualified Propellor.Property.ConfFile as ConfFile +installed :: Property NoInfo +installed = Apt.installed ["lightdm"] + -- | Configures LightDM to skip the login screen and autologin as a user. autoLogin :: User -> Property NoInfo autoLogin (User u) = "/etc/lightdm/lightdm.conf" `ConfFile.containsIniSetting` -- cgit v1.2.3