mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Clarify /etc/apt/sources.list patch in scripts/ansible
This commit is contained in:
parent
08bcc002a1
commit
3ce5f4a380
1 changed files with 1 additions and 0 deletions
|
@ -80,6 +80,7 @@ elif [ -f /etc/debian_version ]; then # Includes Debian, Ubuntu & Raspbian
|
|||
grep '^deb .*ansible' /etc/apt/sources.list /etc/apt/sources.list.d/*.list | grep -v '^/etc/apt/sources.list.d/iiab-ansible.list:' || true # Override bash -e (instead of aborting at 1st error)
|
||||
fi
|
||||
if [ -f /etc/rpi-issue ]; then
|
||||
# 2020-06-06: https://www.raspberrypi.org/forums/viewtopic.php?t=276340
|
||||
echo -e "\nAdd another apt source/mirror if Raspberry Pi OS, which can be flaky..."
|
||||
sed -i '1i deb http://mirror.us.leaseweb.net/raspbian/raspbian buster main contrib non-free rpi' /etc/apt/sources.list
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue