Handling case when memtest is disabled.

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

View File

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