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.
This commit is contained in:
parent
dd074f1461
commit
22f8d1cf18
|
@ -144,7 +144,7 @@ case "${1}" in
|
||||||
rm -f chroot/etc/apt/apt.conf.d/00secure
|
rm -f chroot/etc/apt/apt.conf.d/00secure
|
||||||
|
|
||||||
# Deconfiguring apt preferences
|
# Deconfiguring apt preferences
|
||||||
if [ -f config/chroot_apt/preferences.orig ]
|
if [ -f chroot/etc/apt/preferences.orig ]
|
||||||
then
|
then
|
||||||
mv chroot/etc/apt/preferences.orig chroot/etc/apt/preferences
|
mv chroot/etc/apt/preferences.orig chroot/etc/apt/preferences
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue