summaryrefslogtreecommitdiff
path: root/scripts/build/bootstrap_archives
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/bootstrap_archives')
-rwxr-xr-xscripts/build/bootstrap_archives4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/bootstrap_archives b/scripts/build/bootstrap_archives
index 292ec1e04..80ec52ceb 100755
--- a/scripts/build/bootstrap_archives
+++ b/scripts/build/bootstrap_archives
@@ -66,8 +66,8 @@ do
if [ "${_PASS}" != "source" ] && [ "${LB_APT_SOURCE_ARCHIVES}" = "false" ]
then
- # Strip out source archives
- sed -i "/^deb-src /d" "chroot/etc/apt/sources.list.d/$(basename ${FILE} .chroot)"
+ # Disable source archives
+ sed -i "s/^deb-src/#deb-src/g" "chroot/etc/apt/sources.list.d/$(basename ${FILE} .chroot)"
fi
fi
done