summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-06-13 15:52:16 +0100
committerChris Lamb <chris@chris-lamb.co.uk>2008-06-13 15:52:16 +0100
commit36035832fb6b281b141c27f480ccced945dcc303 (patch)
treeaa9b4d2317f089a724ff5edbd9fa9a5fdb14c927
parent51670fa564778816ca9679b01d537d2a24184abc (diff)
downloadvyos-live-build-36035832fb6b281b141c27f480ccced945dcc303.tar.gz
vyos-live-build-36035832fb6b281b141c27f480ccced945dcc303.zip
Don't exclude live-installer when LH_DEBIAN_INSTALLER=live
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
-rwxr-xr-xhelpers/lh_binary_debian-installer5
1 files changed, 5 insertions, 0 deletions
diff --git a/helpers/lh_binary_debian-installer b/helpers/lh_binary_debian-installer
index 1fb91140f..e5d0bc1b3 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