diff options
author | P. J. McDermott <pj@pehjota.net> | 2018-05-19 01:54:25 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2018-05-19 01:54:25 (EDT) |
commit | 3afcfae2bca8358858de849af27e3457cbfe2953 (patch) | |
tree | 300c16cf60b2b59beee438d661fb08c6d4e7797f /inst | |
parent | 525e4a4f4e8a4eaadad268f9c471857b83bfb9aa (diff) | |
download | pc-inst-3afcfae2bca8358858de849af27e3457cbfe2953.zip pc-inst-3afcfae2bca8358858de849af27e3457cbfe2953.tar.gz pc-inst-3afcfae2bca8358858de849af27e3457cbfe2953.tar.bz2 |
do_apt_update(): Support configuring /etc/apt/preferences
Diffstat (limited to 'inst')
-rwxr-xr-x | inst | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -273,6 +273,12 @@ do_apt_update() ${apt_sources} EOF + case "${apt_preferences+set}" in 'set') + sed 's/^\t*//;' >"${target}/etc/apt/preferences" <<-EOF + ${apt_preferences} + EOF + esac + in_target apt-get update || return 1 in_target apt-get -q -y dist-upgrade || return 1 in_target apt-get clean || return 1 |