diff --git a/install-tornode.sh b/install-tornode.sh index 4ed6975..fe703d8 100644 --- a/install-tornode.sh +++ b/install-tornode.sh @@ -245,8 +245,9 @@ sudo ntpdate pool.ntp.org > /dev/null && echoSuccess "-> OK" echoInfo "Adding Torproject apt repository..." sudo touch /etc/apt/sources.list.d/tor.list && echoSuccess "-> touch OK" || handleError -echo "deb https://deb.torproject.org/torproject.org $RELEASE main" | sudo tee /etc/apt/sources.list.d/tor.list > /dev/null && echoSuccess "-> tee1 OK" || handleError -echo "deb-src https://deb.torproject.org/torproject.org $RELEASE main" | sudo tee --append /etc/apt/sources.list.d/tor.list > /dev/null && echoSuccess "-> tee2 OK" || handleError +ARCH=`dpkg --print-architecture` +echo "deb [arch=$ARCH] https://deb.torproject.org/torproject.org $RELEASE main" | sudo tee /etc/apt/sources.list.d/tor.list > /dev/null && echoSuccess "-> tee1 OK" || handleError +echo "deb-src [arch=$ARCH] https://deb.torproject.org/torproject.org $RELEASE main" | sudo tee --append /etc/apt/sources.list.d/tor.list > /dev/null && echoSuccess "-> tee2 OK" || handleError echoInfo "Adding Torproject GPG key..." curl https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc | sudo apt-key add - && echoSuccess "-> OK" || handleError @@ -598,4 +599,4 @@ echoInfo "👉 Join us in the Rocketeer discord in the #onion-dao channel: https # 🔥 add the current user to the tor user group so that we can run Nyx without sudo # this is a known Nyx annoyance, see https://github.com/torproject/nyx/issues/24 sudo adduser $USER debian-tor -exec sudo su -l $USER # make sure relogin is not needed, see https://superuser.com/a/609141 \ No newline at end of file +exec sudo su -l $USER # make sure relogin is not needed, see https://superuser.com/a/609141