apt-cache: rewrite existing sources
Some checks are pending
continuous-integration/laminar-eldarion Build failed with exit code 123 after 2 seconds

This commit is contained in:
Starbeamrainbowlabs 2022-08-06 20:50:45 +01:00
parent f43463b0ed
commit af20c7f029
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -25,6 +25,11 @@ enable_apt_cache() {
subtask_end "$?"; subtask_end "$?";
fi 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."; task_end "$?" "Failed to configure apt cache.";
} }