From 319180ac6cf14a0d15f265933254705d00fa2093 Mon Sep 17 00:00:00 2001
From: Daniel Baumann <daniel@debian.org>
Date: Sun, 23 Sep 2007 14:05:11 +0200
Subject: Removing both required local and d-i udebs when using live-installer.

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

diff --git a/helpers/lh_binary_debian-installer b/helpers/lh_binary_debian-installer
index fb43cc5..eeb3ea5 100755
--- a/helpers/lh_binary_debian-installer
+++ b/helpers/lh_binary_debian-installer
@@ -370,7 +370,13 @@ done
 # Enable live-installer
 if [ "${LH_DEBIAN_INSTALLER}" = "live" ]
 then
+	# Remove local udebs
 	rm -f pool/main/b/base-installer/bootstrap-base_*.udeb
+	rm -rf pool/main/p/pkgsel
+
+	# Remove d-i udebs
+	rm -f bootstrap-base_*.udeb
+	rm -f pkgsel_*.udeb
 fi
 
 # Moving udebs
-- 
cgit v1.0