add debian to Tor repository (#2785)

This commit is contained in:
arno
2021-12-12 19:10:37 +01:00
committed by GitHub
parent 6068b86d76
commit a050c7b02c

View File

@@ -196,7 +196,7 @@ torSourceListAvailable=$(sudo grep -c 'https://deb.torproject.org/torproject.org
echo "torSourceListAvailable=${torSourceListAvailable}"
if [ ${torSourceListAvailable} -eq 0 ]; then
echo "- adding TOR sources ..."
if [ "${baseimage}" = "raspbian" ] || [ "${baseimage}" = "raspios_arm64" ] || [ "${baseimage}" = "armbian" ] || [ "${baseimage}" = "dietpi" ]; then
if [ "${baseimage}" = "raspbian" ] || [ "${baseimage}" = "raspios_arm64" ] || [ "${baseimage}" = "armbian" ] || [ "${baseimage}" = "dietpi" ] || [ "${baseimage}" = "debian" ]; then
echo "- using https://deb.torproject.org/torproject.org bullseye"
echo "deb https://deb.torproject.org/torproject.org bullseye main" | sudo tee -a /etc/apt/sources.list
echo "deb-src https://deb.torproject.org/torproject.org bullseye main" | sudo tee -a /etc/apt/sources.list