mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-19 13:07:56 +00:00
Attempt to support more distros
This commit is contained in:
parent
0cf600a27d
commit
1c5b284a3b
@ -3,11 +3,11 @@
|
|||||||
# https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail/
|
# https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail/
|
||||||
set -euxo pipefail
|
set -euxo pipefail
|
||||||
|
|
||||||
# Script to install Tor
|
CODENAME=$(lsb_release --short --codename)
|
||||||
|
|
||||||
set -ex
|
# Script to install Tor
|
||||||
echo "deb http://deb.torproject.org/torproject.org stretch main" | sudo tee -a /etc/apt/sources.list
|
echo "deb http://deb.torproject.org/torproject.org ${CODENAME} main" | sudo tee -a /etc/apt/sources.list
|
||||||
echo "deb-src http://deb.torproject.org/torproject.org stretch main" | sudo tee -a /etc/apt/sources.list
|
echo "deb-src http://deb.torproject.org/torproject.org ${CODENAME} main" | sudo tee -a /etc/apt/sources.list
|
||||||
|
|
||||||
# Install Tor repo signing key
|
# Install Tor repo signing key
|
||||||
sudo apt-key add - <<EOF
|
sudo apt-key add - <<EOF
|
||||||
|
Loading…
Reference in New Issue
Block a user