diff options
author | Roger Leigh <rleigh@debian.org> | 2012-07-18 22:20:44 +0100 |
---|---|---|
committer | Roger Leigh <rleigh@debian.org> | 2012-07-18 22:20:44 +0100 |
commit | 2d1edafdf9512a4805d35f74911ff0aa5b84b9d4 (patch) | |
tree | 74c87e232671e856d3d36d4da5c4a0ec25b88521 /debian/dchroot.preinst | |
parent | a988faa451c99ee3c665d9c3dfd21304af0d87fd (diff) | |
download | schroot-2d1edafdf9512a4805d35f74911ff0aa5b84b9d4.tar.gz |
debian: Fix dchroot preinst
Diffstat (limited to 'debian/dchroot.preinst')
-rw-r--r-- | debian/dchroot.preinst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/dchroot.preinst b/debian/dchroot.preinst index 7b4e30da..8de5c306 100644 --- a/debian/dchroot.preinst +++ b/debian/dchroot.preinst @@ -17,11 +17,11 @@ set -e case "$1" in install|upgrade) - if dpkg --compare-versions "$2" lt "1.6.1-1"; then + if dpkg --compare-versions "$2" lt "1.5.1"; then if [ -f /etc/dchroot.conf ]; then if [ -x /usr/bin/dchroot ]; then echo "Converting old dchroot configuration to schroot.conf format..." - tmpfile=$(tempfile -d/tmp -pconv- -s-dchroot) + tmpfile=$(tempfile -d/etc/schroot/chroot.d -pconv- -s-dchroot) echo "/etc/dchroot.conf written to $tmpfile; please add appropriate access permissions" dchroot --config >> "$tmpfile" fi |