Also only respecting packages lists with .list suffix in binary_local-packageslists for consistency.

This commit is contained in:
Daniel Baumann 2010-09-19 17:36:56 +02:00
parent 4a908658ff
commit 799cb2abef
1 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ Check_lockfile .lock
# Creating lock file
Create_lockfile .lock
if Find_files config/binary_local-packageslists/*
if Find_files config/binary_local-packageslists/*.list
then
# Restoring cache
Restore_cache cache/packages_chroot
@ -53,7 +53,7 @@ then
mv chroot/var/lib/dpkg/status chroot/var/lib/dpkg/status.tmp
touch chroot/var/lib/dpkg/status
for PACKAGESLIST in config/binary_local-packageslists/*
for PACKAGESLIST in config/binary_local-packageslists/*.list
do
# Generate package list
Expand_packagelist "${PACKAGESLIST}" "config/binary_local-packageslists" "config/chroot_local-packageslists" > chroot/root/"$(basename ${PACKAGESLIST})"