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:
parent
04841d46ad
commit
3aa34e3461
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue