update the sources list if needed when unpacking the tarball

This commit is contained in:
parazyd 2017-04-23 16:58:54 +02:00
parent db35673fa3
commit 8ad0d444e3
No known key found for this signature in database
GPG Key ID: F0CB28FCF78637DE

@ -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