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