[SCM] Debian Live build scripts branch, master, updated. 1.0.3-2-30-g15d286c

Daniel Baumann daniel at debian.org
Fri Mar 27 05:46:00 UTC 2009


The following commit has been merged in the master branch:
commit 15d286cec88e40615e16b6228e1e0086788fdd8e
Author: Cody A.W. Somerville <cody-somerville at ubuntu.com>
Date:   Fri Mar 27 06:39:09 2009 +0100

    Checking for installer README.html to prevent build failure.

diff --git a/helpers/lh_binary_includes b/helpers/lh_binary_includes
index e37cc61..9dfeb18 100755
--- a/helpers/lh_binary_includes
+++ b/helpers/lh_binary_includes
@@ -155,8 +155,11 @@ then
 		DEBIAN_TOOLS_TXT="/tools/"
 	fi
 
-	sed -i -e "s|DEBIAN_NAME|${DEBIAN_NAME}|g" -e "s|DEBIAN_DATE|${DEBIAN_DATE}|g" -e "s|DEBIAN_TOOLS|${DEBIAN_TOOLS_HTML}|g" binary/README.html
-	sed -i -e "s|DEBIAN_NAME|${DEBIAN_NAME}|g" -e "s|DEBIAN_DATE|${DEBIAN_DATE}|g" -e "s|DEBIAN_TOOLS|${DEBIAN_TOOLS_TXT}|g" binary/README.txt
+	if [ -f binary/README.html ]
+	then
+		sed -i -e "s|DEBIAN_NAME|${DEBIAN_NAME}|g" -e "s|DEBIAN_DATE|${DEBIAN_DATE}|g" -e "s|DEBIAN_TOOLS|${DEBIAN_TOOLS_HTML}|g" binary/README.html
+		sed -i -e "s|DEBIAN_NAME|${DEBIAN_NAME}|g" -e "s|DEBIAN_DATE|${DEBIAN_DATE}|g" -e "s|DEBIAN_TOOLS|${DEBIAN_TOOLS_TXT}|g" binary/README.txt
+	fi
 fi
 
 # Creating stage file

-- 
Debian Live build scripts



More information about the debian-live-changes mailing list