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. --- debian/changelog | 2 ++ src/Propellor/Property/Debootstrap.hs | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index cc402065..3405f3b7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,8 @@ propellor (3.2.1) UNRELEASED; urgency=medium * Simplify Debootstrap.sourceInstall since #770217 was fixed. + * Debootstap.installed: Fix inverted logic that made this never install + debootstrap. Thanks, mithrandi. -- Joey Hess Sat, 24 Sep 2016 14:34:39 -0400 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