diff options
author | Daniel Baumann <daniel@debian.org> | 2012-11-14 21:54:42 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2012-11-14 21:54:42 +0100 |
commit | 3138b1a4faba120efd082e351d8cef04fcaf6392 (patch) | |
tree | 073d4fdc5642ce202bbe74cd15ca72f8794164b8 /scripts/build | |
parent | 8286f7d73c556913bdd0bb44ffdfe4a984e678c0 (diff) | |
download | vyos-live-build-3138b1a4faba120efd082e351d8cef04fcaf6392.tar.gz vyos-live-build-3138b1a4faba120efd082e351d8cef04fcaf6392.zip |
Correcting copying of archive specific apt preferences files, thanks to Thanatermesis <thanatermesis@gmail.com> (Closes: #693250).
Diffstat (limited to 'scripts/build')
-rwxr-xr-x | scripts/build/chroot_archives | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/chroot_archives b/scripts/build/chroot_archives index 79b4b3964..3785b65ba 100755 --- a/scripts/build/chroot_archives +++ b/scripts/build/chroot_archives @@ -290,7 +290,7 @@ EOF do if [ -e "${FILE}" ] then - cp config/archives/$(basename ${_FILE} .chroot) chroot/etc/apt/preferences.d + cp ${FILE} chroot/etc/apt/preferences.d/$(basename ${FILE} .chroot) fi done fi @@ -847,7 +847,7 @@ EOF do if [ -e "${FILE}" ] then - cp config/archives/$(basename ${_FILE} .binary) chroot/etc/apt/preferences.d + cp ${FILE} chroot/etc/apt/preferences.d/$(basename ${FILE} .binary) fi done fi |