diff --git a/src/steps-config/10-apt-cache.sh b/src/steps-config/10-apt-cache.sh index c50c888..c51029c 100755 --- a/src/steps-config/10-apt-cache.sh +++ b/src/steps-config/10-apt-cache.sh @@ -25,6 +25,11 @@ enable_apt_cache() { subtask_end "$?"; fi + subtask_begin "Reconfiguring existing apt sources https → http"; + sed -i 's/https:\/\//http:\/\//g' /etc/apt/sources.list; + find /etc/apt/sources.list.d/ -type f -iname '*.list' -print0 | xargs -0 -n1 sed -i 's/https:\/\//http:\/\//g'; + subtask_end "$?"; + task_end "$?" "Failed to configure apt cache."; }