Some formating and style cleanups.

This commit is contained in:
Daniel Baumann 2008-04-17 10:42:34 +02:00
parent dd470ea575
commit 734762fcf1
2 changed files with 12 additions and 10 deletions

View File

@ -367,6 +367,7 @@ then
rm -f "$(basename ${FILE} | awk -F_ '{ print $1 }')"_*.udeb
done
fi
if ls ../config/binary_local-udebs/*_all.udeb > /dev/null 2>&1
then
for FILE in ../config/binary_local-udebs/*_all.udeb
@ -457,7 +458,8 @@ then
fi
fi
repack_initrd() {
Repack_initrd()
{
local TARGET_INITRD
TARGET_INITRD="${1}"
REPACK_TMPDIR="unpacked-initrd"
@ -477,11 +479,11 @@ repack_initrd() {
# Preseed d-i by repacking the initrd in certain situations
if [ "${USE_NETBOOT_DI}" = "yes" ] && [ -e config/binary_debian-installer/preseed.cfg ]
then
repack_initrd "${DESTDIR}"/"${INITRD_DI}"
Repack_initrd "${DESTDIR}"/"${INITRD_DI}"
if [ -e "${DESTDIR}"/"${INITRD_GI}" ]
then
repack_initrd "${DESTDIR}"/"${INITRD_GI}"
Repack_initrd "${DESTDIR}"/"${INITRD_GI}"
fi
fi