summaryrefslogtreecommitdiff
path: root/scripts/build
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-11-19 16:21:19 +0100
committerDaniel Baumann <daniel@debian.org>2012-11-19 16:21:19 +0100
commite7a6543499a9cd919c230093db90b121b94da994 (patch)
tree330010bb9d981a3a3417239e770a399623a3a4ba /scripts/build
parent3138b1a4faba120efd082e351d8cef04fcaf6392 (diff)
downloadvyos-live-build-e7a6543499a9cd919c230093db90b121b94da994.tar.gz
vyos-live-build-e7a6543499a9cd919c230093db90b121b94da994.zip
Correcting a typo in chroot_apt when re-configuring apt preferences, found by Thanatermesis <thanatermesis@gmail.com> (Closes: #685924).
Diffstat (limited to 'scripts/build')
-rwxr-xr-xscripts/build/chroot_apt2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/chroot_apt b/scripts/build/chroot_apt
index b31ab94ba..3b1204982 100755
--- a/scripts/build/chroot_apt
+++ b/scripts/build/chroot_apt
@@ -298,7 +298,7 @@ EOF
cp -aL ${_FILE} chroot/etc/apt/preferences.d
- if [ -f chroot/etc/apt/preferences.d/$(basename ${_FILE}) ]
+ if [ -f chroot/etc/apt/preferences.d/$(basename ${_FILE}).orig ]
then
mv chroot/etc/apt/preferences.d/$(basename ${_FILE}).orig chroot/etc/apt/preferences.d/$(basename ${_FILE})
fi