Run code for --remove-configs before unmounting chroot
authorMichael Prokop <mika@grml.org>
Thu, 4 Jun 2015 12:59:45 +0000 (14:59 +0200)
committerMichael Prokop <mika@grml.org>
Thu, 4 Jun 2015 13:00:23 +0000 (15:00 +0200)
commit9d9ec2d4cee334ce5b378fb880a2c58c57e4f6e7
treeb9e150a362a6801a7e6f7fe03ff2b6580addeb80
parent2a43ef77b386aef949070ca1828a2019569fca9a
Run code for --remove-configs before unmounting chroot

Otherwise the mountpoint won't be there anymore.
Also check whether the mountpoint exists before trying
to delete anything.

Fixes #66 @ github
grml-debootstrap