diff options
author | Daniel Baumann <daniel@debian.org> | 2012-11-19 16:21:19 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2012-11-19 16:21:19 +0100 |
commit | e7a6543499a9cd919c230093db90b121b94da994 (patch) | |
tree | 330010bb9d981a3a3417239e770a399623a3a4ba /scripts/build/chroot_apt | |
parent | 3138b1a4faba120efd082e351d8cef04fcaf6392 (diff) | |
download | vyos-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/chroot_apt')
-rwxr-xr-x | scripts/build/chroot_apt | 2 |
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 |