Ubuntu Pastebin

Paste from ogra at Tue, 28 Jul 2015 16:08:03 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
=== modified file 'live-build/auto/build'
--- live-build/auto/build	2015-06-05 08:39:46 +0000
+++ live-build/auto/build	2015-07-28 16:07:46 +0000
@@ -456,10 +456,12 @@
 		cp /etc/resolv.conf chroot/etc/resolv.conf
 	fi
 
-	mv "${sourceslist}" "${sourceslist}.orig"
-	mv "${sourceslist}.d" "${sourceslist}.d.orig"
-	echo "deb $LB_PARENT_MIRROR_CHROOT ${LB_DISTRIBUTION} main universe multiverse restricted" >$sourceslist
-	Chroot chroot "apt-get -y update"
+	if [ ! "$EXTRA_PPAS" ]; then
+		mv "${sourceslist}" "${sourceslist}.orig"
+		mv "${sourceslist}.d" "${sourceslist}.d.orig"
+		echo "deb $LB_PARENT_MIRROR_CHROOT ${LB_DISTRIBUTION} main universe multiverse restricted" >$sourceslist
+		Chroot chroot "apt-get -y update"
+	fi
 	Chroot chroot "apt-get -y install android"
 
 	if [ "$ARCH" = "armhf" ]; then
Download as text