update the sources list if needed when unpacking the tarball
This commit is contained in:
parent
db35673fa3
commit
8ad0d444e3
|
|
@ -148,6 +148,8 @@ bootstrap_tar_unpack() {
|
|||
exit 1
|
||||
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
|
||||
|
|
|
|||
Loading…
Reference in New Issue