From 7540b66682f1650b7f245c01c8087f97c39a6fd3 Mon Sep 17 00:00:00 2001
From: Chris Lamb <chris@chris-lamb.co.uk>
Date: Fri, 13 Jun 2008 15:52:16 +0100
Subject: Don't exclude live-installer when LH_DEBIAN_INSTALLER=live

---
 helpers/lh_binary_debian-installer | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/helpers/lh_binary_debian-installer b/helpers/lh_binary_debian-installer
index 1fb9114..e5d0bc1 100755
--- a/helpers/lh_binary_debian-installer
+++ b/helpers/lh_binary_debian-installer
@@ -392,6 +392,11 @@ then
 
 	for EXCLUDE in $(cat exclude)
 	do
+		if [ "${LH_DEBIAN_INSTALLER}" = "live" ] && [ "${EXCLUDE}" = "live-installer" ]
+		then
+			continue
+		fi
+
 		rm -f "${EXCLUDE}"_*.udeb
 	done
 
-- 
cgit v1.0