From e01ff0ae7718fbddb5e81c3b4d967af90d9d64ba Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Sat, 21 May 2016 14:35:40 +0900 Subject: and delete it when we nuke the chroot --- src/Propellor/Property/Sbuild.hs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Propellor/Property/Sbuild.hs b/src/Propellor/Property/Sbuild.hs index 64d4911c..996b5619 100644 --- a/src/Propellor/Property/Sbuild.hs +++ b/src/Propellor/Property/Sbuild.hs @@ -134,6 +134,8 @@ built s@(SbuildSchroot suite arch) mirror = deleted = check (not <$> unpopulated (schrootRoot s)) $ property ("no sbuild schroot for " ++ show s) $ do liftIO $ removeChroot $ schrootRoot s + liftIO $ nukeFile + ("/etc/sbuild/chroot" show s ++ "-sbuild") makeChange $ nukeFile (schrootConf s) -- if we're building a sid chroot, add useful aliases -- cgit v1.2.3