From 38bca937ff1c037ce09a3be2a5b51cef122a56a1 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 21 Jan 2018 00:28:18 -0500 Subject: do_apt_update(): Support overriding APT sources --- (limited to 'inst') diff --git a/inst b/inst index d4912c9..1164c43 100755 --- a/inst +++ b/inst @@ -269,6 +269,10 @@ do_apt_update() { info 'Downloading package lists' + cat >"${target}/etc/apt/sources.list" <<-EOF + ${apt_sources} + EOF + in_target apt-get update || return 1 return 0 -- cgit v0.9.1