diff options
author | Chris Lamb <chris@chris-lamb.co.uk> | 2008-07-10 21:54:02 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:03:37 +0100 |
commit | 22f8d1cf181ca98d9c9932097cb4c2814339b0a4 (patch) | |
tree | ecdffc8e449a4b0b8e5ac90ec1a55e9cb972a6d4 /helpers/lh_chroot_apt | |
parent | dd074f1461708344299c32dbe996ca1fe33e9cec (diff) | |
download | vyos-live-build-22f8d1cf181ca98d9c9932097cb4c2814339b0a4.tar.gz vyos-live-build-22f8d1cf181ca98d9c9932097cb4c2814339b0a4.zip |
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.
Diffstat (limited to 'helpers/lh_chroot_apt')
-rwxr-xr-x | helpers/lh_chroot_apt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/lh_chroot_apt b/helpers/lh_chroot_apt index 055814684..6bfb7c352 100755 --- a/helpers/lh_chroot_apt +++ b/helpers/lh_chroot_apt @@ -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 |