diff options
author | P. J. McDermott <pj@pehjota.net> | 2018-01-21 00:28:18 (EST) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2018-01-21 00:28:18 (EST) |
commit | 38bca937ff1c037ce09a3be2a5b51cef122a56a1 (patch) | |
tree | 24ad2bc81a27ae5d04e9f506272768b42e035a9a /inst | |
parent | 4cdf76994f2e1a57e596d889d31dd77db8126886 (diff) | |
download | pc-inst-38bca937ff1c037ce09a3be2a5b51cef122a56a1.zip pc-inst-38bca937ff1c037ce09a3be2a5b51cef122a56a1.tar.gz pc-inst-38bca937ff1c037ce09a3be2a5b51cef122a56a1.tar.bz2 |
do_apt_update(): Support overriding APT sources
Diffstat (limited to 'inst')
-rwxr-xr-x | inst | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |