apat-cache: fix bug
Some checks are pending
continuous-integration/laminar-eldarion Build failed with exit code 123 after 5 seconds
Some checks are pending
continuous-integration/laminar-eldarion Build failed with exit code 123 after 5 seconds
This commit is contained in:
parent
f159700ca8
commit
dc97aa89a1
1 changed files with 4 additions and 1 deletions
|
@ -12,7 +12,10 @@ enable_apt_cache() {
|
|||
# From /etc/os-release - see run.sh
|
||||
if [[ "${ID}" == "raspbian" ]]; then
|
||||
subtask_begin "Patching for Raspbian [ 1 / 2 ]";
|
||||
echo 'deb http://archive.raspberrypi.org/debian/ buster main ui' >/etc/apt/sources.list.d/raspi.list;
|
||||
# HTTPS doesn't allow for our proxy to cache it
|
||||
if [[ -r "/etc/apt/sources.list.d/raspi.list" ]]; then
|
||||
sed -i 's/https:/http:/g' /etc/apt/sources.list.d/raspi.list
|
||||
fi
|
||||
subtask_end "$?";
|
||||
|
||||
subtask_begin "Patching for Raspbian [ 2 / 2 ]";
|
||||
|
|
Loading…
Reference in a new issue