Handling case when memtest is disabled.

This commit is contained in:
Daniel Baumann 2007-09-23 14:05:14 +02:00
parent f3706cd7f2
commit 09faf3f24b
1 changed files with 4 additions and 1 deletions

View File

@ -76,12 +76,15 @@ case "${LH_ARCHITECTURE}" in
amd64|i386) amd64|i386)
cat >> chroot/root/dpkg-selection.txt << EOF cat >> chroot/root/dpkg-selection.txt << EOF
${LH_MEMTEST}
mtools mtools
syslinux syslinux
grub grub
EOF EOF
if [ "${LH_MEMTEST}" != "disabled" ] && [ "${LH_MEMTEST}" != "none" ]
then
echo "${LH_MEMTEST}" >> chroot/root/dpkg-selection.txt
fi
;; ;;
powerpc) powerpc)