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.

This commit is contained in:
Chris Lamb 2008-07-10 21:54:02 +01:00 committed by Daniel Baumann
parent dd074f1461
commit 22f8d1cf18
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 rm -f chroot/etc/apt/apt.conf.d/00secure
# Deconfiguring apt preferences # Deconfiguring apt preferences
if [ -f config/chroot_apt/preferences.orig ] if [ -f chroot/etc/apt/preferences.orig ]
then then
mv chroot/etc/apt/preferences.orig chroot/etc/apt/preferences mv chroot/etc/apt/preferences.orig chroot/etc/apt/preferences
else else