diff options
| author | Sean Whitton <spwhitton@spwhitton.name> | 2016-05-21 21:49:10 +0900 |
|---|---|---|
| committer | Sean Whitton <spwhitton@spwhitton.name> | 2016-05-21 21:53:23 +0900 |
| commit | 0126f29fd30a01f5122b83cd4f6d98c9b7f9d632 (patch) | |
| tree | e9034c5e7d62d4bf2ecab0d8218b0baecf21654f /src | |
| parent | 405999ff5981bb06f886466a7ec47fc90fa1c4b6 (diff) | |
File.isCopyOf usage replaced with cmdProperty
File.isCopyOf doesn't work when the first argument doesn't exist yet
Diffstat (limited to 'src')
| -rw-r--r-- | src/Propellor/Property/Sbuild.hs | 2 |
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" |
