summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-07-10 21:54:02 +0100
committerChris Lamb <chris@chris-lamb.co.uk>2008-07-10 21:54:02 +0100
commit3aa34e3461baa90ff4af76b1af36e8afda16d65e (patch)
treeecdffc8e449a4b0b8e5ac90ec1a55e9cb972a6d4 /helpers
parent04841d46ad68c9bac65502f79280d108bdba3e2f (diff)
downloadvyos-live-build-3aa34e3461baa90ff4af76b1af36e8afda16d65e.tar.gz
vyos-live-build-3aa34e3461baa90ff4af76b1af36e8afda16d65e.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.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Diffstat (limited to 'helpers')
-rwxr-xr-xhelpers/lh_chroot_apt2
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