From 44fefdf1d3d7dfb2a4df2fa830569d38b0d1449c Mon Sep 17 00:00:00 2001
From: Chris Lamb <lamby@debian.org>
Date: Mon, 22 Sep 2008 20:32:32 +0100
Subject: Additionally save the 'scripts/' subdirectory if it contains files
 when building source images.

---
 helpers/lh_source_debian-live | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/helpers/lh_source_debian-live b/helpers/lh_source_debian-live
index 36638f6..488f913 100755
--- a/helpers/lh_source_debian-live
+++ b/helpers/lh_source_debian-live
@@ -57,6 +57,11 @@ fi
 mkdir -p source/debian-live
 cp -a config source/debian-live
 
+if Find_files scripts/*
+then
+	cp -a scripts source/debian-live
+fi
+
 # Create tarball
 cd source
 
-- 
cgit v1.0