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

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

View file

@ -12,7 +12,10 @@ enable_apt_cache() {
# From /etc/os-release - see run.sh # From /etc/os-release - see run.sh
if [[ "${ID}" == "raspbian" ]]; then if [[ "${ID}" == "raspbian" ]]; then
subtask_begin "Patching for Raspbian [ 1 / 2 ]"; 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_end "$?";
subtask_begin "Patching for Raspbian [ 2 / 2 ]"; subtask_begin "Patching for Raspbian [ 2 / 2 ]";