Support expanding wildcards in udeb excludes.

This was preventing "kernel-image-*" "exclude" entries from removing these
packages. This saves about 5 MiB of space in all.

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
This commit is contained in:
Chris Lamb 2008-08-17 07:06:13 +01:00
parent 4a1a00e1d4
commit d4f92859a1
1 changed files with 3 additions and 3 deletions

View File

@ -567,15 +567,15 @@ then
cat ../config/binary_debian-installer/udeb_exclude >> exclude
fi
for EXCLUDE in $(cat exclude)
while read EXCLUDE
do
if [ "${LH_DEBIAN_INSTALLER}" = "live" ] && [ "${EXCLUDE}" = "live-installer" ]
then
continue
fi
rm -f "${EXCLUDE}"_*.udeb
done
rm -f ${EXCLUDE}_*.udeb
done < exclude
# Enable live-installer
if [ "${LH_DEBIAN_INSTALLER}" = "live" ] && [ "${LH_DEBIAN_INSTALLER_DISTRIBUTION}" != "etch" ]