diff options
| -rw-r--r-- | debian/changelog | 2 | ||||
| -rw-r--r-- | src/Propellor/Property/Debootstrap.hs | 2 |
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" |
