summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess2016-10-03 18:04:46 -0400
committerJoey Hess2016-10-03 18:04:46 -0400
commit8fd86cc60a82baae7afadbcd62b4cdd8f05cbf43 (patch)
tree135ea1798e5aedc3a248dd03840d6805ba3cdcdc
parent90108e839d34fd7083c5a7dadb5f8895f9ec19f2 (diff)
Debootstap.installed: Fix inverted logic that made this never install debootstrap. Thanks, mithrandi.
This commit was sponsored by Jake Vosloo on Patreon.
-rw-r--r--debian/changelog2
-rw-r--r--src/Propellor/Property/Debootstrap.hs2
2 files changed, 3 insertions, 1 deletions
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 <id@joeyh.name> 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"