summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Debootstrap.hs
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2016-02-26 10:55:21 -0400
committerJoey Hess <joeyh@joeyh.name>2016-02-26 10:55:21 -0400
commit071921d11056527fc307e243b603bfc83d49555e (patch)
tree1fb5c8f7aeb4a1babbd13ca0622333fa5e8d5433 /src/Propellor/Property/Debootstrap.hs
parentc716d1a0d4b18737b133ba9cc23c97388f72f5c0 (diff)
parent0cba8dec39447f030c0f765d1d84a1c2466b9bfc (diff)
Merge branch 'joeyconfig'
Diffstat (limited to 'src/Propellor/Property/Debootstrap.hs')
-rw-r--r--src/Propellor/Property/Debootstrap.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Propellor/Property/Debootstrap.hs b/src/Propellor/Property/Debootstrap.hs
index 445c0629..6a566853 100644
--- a/src/Propellor/Property/Debootstrap.hs
+++ b/src/Propellor/Property/Debootstrap.hs
@@ -91,7 +91,7 @@ built' installprop target system@(System _ arch) config =
extractSuite :: System -> Maybe String
extractSuite (System (Debian s) _) = Just $ Apt.showSuite s
-extractSuite (System (FooBuntu r) _) = Just r
+extractSuite (System (Buntish r) _) = Just r
-- | Ensures debootstrap is installed.
--
@@ -108,12 +108,12 @@ installed = install <!> remove
)
installon (Just (System (Debian _) _)) = aptinstall
- installon (Just (System (FooBuntu _) _)) = aptinstall
+ installon (Just (System (Buntish _) _)) = aptinstall
installon _ = sourceInstall
remove = withOS "debootstrap removed" $ ensureProperty . removefrom
removefrom (Just (System (Debian _) _)) = aptremove
- removefrom (Just (System (FooBuntu _) _)) = aptremove
+ removefrom (Just (System (Buntish _) _)) = aptremove
removefrom _ = sourceRemove
aptinstall = Apt.installed ["debootstrap"]