From 8fd86cc60a82baae7afadbcd62b4cdd8f05cbf43 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 3 Oct 2016 18:04:46 -0400 Subject: Debootstap.installed: Fix inverted logic that made this never install debootstrap. Thanks, mithrandi. This commit was sponsored by Jake Vosloo on Patreon. --- src/Propellor/Property/Debootstrap.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Propellor') diff --git a/src/Propellor/Property/Debootstrap.hs b/src/Propellor/Property/Debootstrap.hs index 59850c4c..f9737cac 100644 --- a/src/Propellor/Property/Debootstrap.hs +++ b/src/Propellor/Property/Debootstrap.hs @@ -100,7 +100,7 @@ extractSuite (System (FreeBSD _) _) = Nothing installed :: RevertableProperty Linux Linux installed = install remove where - install = check (isJust <$> programPath) $ + install = check (isNothing <$> programPath) $ (aptinstall `pickOS` sourceInstall) `describe` "debootstrap installed" -- cgit v1.3-2-g0d8e