summaryrefslogtreecommitdiff
path: root/scripts/build/lb_chroot_apt
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/lb_chroot_apt')
-rwxr-xr-xscripts/build/lb_chroot_apt4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/lb_chroot_apt b/scripts/build/lb_chroot_apt
index 5a097c787..6414701d4 100755
--- a/scripts/build/lb_chroot_apt
+++ b/scripts/build/lb_chroot_apt
@@ -108,7 +108,7 @@ case "${1}" in
cp config/chroot_apt/preferences chroot/etc/apt/preferences
fi
- if Find_files config/packages.chroot/*.deb
+ if Find_files config/packages.chroot/*.deb || Find_files config/packages/*.deb
then
echo >> chroot/etc/apt/preferences
echo "# Added by lb_chroot_apt ${@}" >> chroot/etc/apt/preferences
@@ -236,7 +236,7 @@ EOF
fi
fi
- if Find_files config/packages.chroot/*.deb
+ if Find_files config/packages.chroot/*.deb || Find_files config/packages/*.deb
then
if [ -f chroot/etc/apt/preferences ]
then