tupdate the sources list if needed when unpacking the tarball - libdevuansdk - common library for devuan's simple distro kits
HTML git clone https://git.parazyd.org/libdevuansdk
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
DIR commit e244de8be46bc949d670f625f1fc2fc21e479661
DIR parent 520a27422d445d25c4fe53c414f0e081f37afcbd
HTML 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:
M zlibs/bootstrap | 2 ++
1 file changed, 2 insertions(+), 0 deletions(-)
---
DIR diff --git a/zlibs/bootstrap b/zlibs/bootstrap
t@@ -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