summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Sbuild.hs
diff options
context:
space:
mode:
authorSean Whitton2016-05-21 21:49:10 +0900
committerSean Whitton2016-05-21 21:53:23 +0900
commit0126f29fd30a01f5122b83cd4f6d98c9b7f9d632 (patch)
treee9034c5e7d62d4bf2ecab0d8218b0baecf21654f /src/Propellor/Property/Sbuild.hs
parent405999ff5981bb06f886466a7ec47fc90fa1c4b6 (diff)
File.isCopyOf usage replaced with cmdProperty
File.isCopyOf doesn't work when the first argument doesn't exist yet
Diffstat (limited to 'src/Propellor/Property/Sbuild.hs')
-rw-r--r--src/Propellor/Property/Sbuild.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Property/Sbuild.hs b/src/Propellor/Property/Sbuild.hs
index ea688f7a..0449425c 100644
--- a/src/Propellor/Property/Sbuild.hs
+++ b/src/Propellor/Property/Sbuild.hs
@@ -271,7 +271,7 @@ piupartsConf s u = go
File.basedOn (dir </> "fstab")
(orig </> "fstab", filter (/= aptCacheLine))
- create = File.isCopyOf f (schrootConf s)
+ create = cmdProperty "cp" [f, schrootConf s] `assume` MadeChange
`before` File.fileProperty "replace suffix" (map munge) f
orig = "/etc/schroot/chroot.d/sbuild"