diff options
author | Daniel Baumann <daniel@debian.org> | 2007-09-23 14:05:14 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 18:22:27 +0100 |
commit | 783527b51a2e0f34b9fe12b738ba8419060948aa (patch) | |
tree | ee8ee0943fa4857b6d405a80d7e112db343f5bcf | |
parent | 2092d8026e740ba9f619f299596096c96b338ab1 (diff) | |
download | live-build-783527b51a2e0f34b9fe12b738ba8419060948aa.zip live-build-783527b51a2e0f34b9fe12b738ba8419060948aa.tar.gz |
Handling case when memtest is disabled.
-rwxr-xr-x | helpers/lh_source_debian | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/helpers/lh_source_debian b/helpers/lh_source_debian index e939e6c..8e60000 100755 --- a/helpers/lh_source_debian +++ b/helpers/lh_source_debian @@ -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) |