Fix a bug where a /etc/apt/preferences supplied in chroot_local-includes was always being deleted when used in conjunction with config/chroot_apt/preferences.

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
This commit is contained in:
Chris Lamb 2008-07-10 21:54:02 +01:00
parent 04841d46ad
commit 3aa34e3461
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ case "${1}" in
rm -f chroot/etc/apt/apt.conf.d/00secure
# Deconfiguring apt preferences
if [ -f config/chroot_apt/preferences.orig ]
if [ -f chroot/etc/apt/preferences.orig ]
then
mv chroot/etc/apt/preferences.orig chroot/etc/apt/preferences
else