apt-cache: rewrite existing sources
Some checks are pending
continuous-integration/laminar-eldarion Build failed with exit code 123 after 2 seconds
Some checks are pending
continuous-integration/laminar-eldarion Build failed with exit code 123 after 2 seconds
This commit is contained in:
parent
f43463b0ed
commit
af20c7f029
1 changed files with 5 additions and 0 deletions
|
@ -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.";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue