summaryrefslogtreecommitdiff
path: root/debian/schroot.preinst
diff options
context:
space:
mode:
authorRoger Leigh <rleigh@debian.org>2010-02-09 23:38:07 +0000
committerRoger Leigh <rleigh@debian.org>2010-02-09 23:38:07 +0000
commit1a35d9a5d39833363142c543f08edc52a0cedd62 (patch)
tree843ae5530ef5fdded70c2e5c283563bd7c8d5e49 /debian/schroot.preinst
parent50c5035487e2b7d7d7bea2655b475de76a1b0f64 (diff)
downloadschroot-1a35d9a5d39833363142c543f08edc52a0cedd62.tar.gz
debian: Move conffiles in pre and postinst
Diffstat (limited to 'debian/schroot.preinst')
-rw-r--r--debian/schroot.preinst6
1 files changed, 6 insertions, 0 deletions
diff --git a/debian/schroot.preinst b/debian/schroot.preinst
index e190020c..7a2da2d9 100644
--- a/debian/schroot.preinst
+++ b/debian/schroot.preinst
@@ -50,6 +50,12 @@ install|upgrade)
rm_conffile "schroot" "/etc/schroot/setup.d/20network"
rm_conffile "schroot" "/etc/schroot/setup.d/30passwd"
fi
+ if dpkg --compare-versions "$2" le "1.4.0-1"; then
+ rm_conffile "schroot" "/etc/schroot/script-defaults"
+ rm_conffile "schroot" "/etc/schroot/mount-defaults"
+ rm_conffile "schroot" "/etc/schroot/copyfiles-defaults"
+ rm_conffile "schroot" "/etc/schroot/nssdatabases-defaults"
+ fi
esac
# dh_installdeb will replace this with shell code automatically