apat-cache: fix bug
continuous-integration/laminar-eldarion Build failed with exit code 123 after 5 seconds Details

This commit is contained in:
Starbeamrainbowlabs 2022-03-21 02:35:48 +00:00
parent f159700ca8
commit dc97aa89a1
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
1 changed files with 4 additions and 1 deletions

View File

@ -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 ]";