commit e244de8be46bc949d670f625f1fc2fc21e479661
parent 520a27422d445d25c4fe53c414f0e081f37afcbd
Author: parazyd <parazyd@dyne.org>
Date: Sun, 23 Apr 2017 16:58:54 +0200
update the sources list if needed when unpacking the tarball
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/zlibs/bootstrap b/zlibs/bootstrap
@@ -147,6 +147,8 @@ bootstrap_tar_unpack() {
sudo mkdir -p ${unpath}/{boot,dev,sys,proc}
fi
+ conf_print_sourceslist | sudo tee $strapdir/etc/apt/sources.list >/dev/null
+
cat <<EOF | sudo tee ${strapdir}/postunpack >/dev/null
#!/bin/sh
apt-get update