From 90d2fedc098f1059e23fb75a2c6c58aa66dbb46e Mon Sep 17 00:00:00 2001
From: Chris Lamb <chris@chris-lamb.co.uk>
Date: Fri, 13 Jun 2008 14:28:27 +0100
Subject: Fix a few bogus guards in lh_binary_debian-installer

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

diff --git a/helpers/lh_binary_debian-installer b/helpers/lh_binary_debian-installer
index 17793fc..1fb9114 100755
--- a/helpers/lh_binary_debian-installer
+++ b/helpers/lh_binary_debian-installer
@@ -301,7 +301,7 @@ then
 	fi
 
 	# Including local debs
-	if ls ../config/binary_local-debs/*_"${LH_ARCHITECTURE}".udeb > /dev/null 2>&1
+	if ls ../config/binary_local-debs/*_"${LH_ARCHITECTURE}".deb > /dev/null 2>&1
 	then
 		for FILE in ../config/binary_local-debs/*_"${LH_ARCHITECTURE}".deb
 		do
@@ -309,7 +309,7 @@ then
 		done
 	fi
 
-	if ls ../config/binary_local-debs/*_all.udeb > /dev/null 2>&1
+	if ls ../config/binary_local-debs/*_all.deb > /dev/null 2>&1
 	then
 		for FILE in ../config/binary_local-debs/*_all.deb
 		do
@@ -452,7 +452,7 @@ then
 	fi
 
 	# Including preseeding files
-	if [ -e config/binary_debian-installer/preseed*.cfg ]
+	if ls config/binary_debian_installer/preseed*.cfg > /dev/null 2>&1
 	then
 		cp config/binary_debian-installer/preseed*.cfg binary/install
 	fi
-- 
cgit v1.0