From 1d3f3df2f56f8613512f9e93c6f204d0cbc6904d Mon Sep 17 00:00:00 2001 From: Casey Marshall Date: Wed, 22 Nov 2017 15:02:05 -0600 Subject: [PATCH] Fix lazy install script & instructions. --- README.md | 2 +- install.bash | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b904f46..8db95f2 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ platforms. Windows support is experimental. For the lazy on Ubuntu 16.04 LTS amd64: - curl https://git.io/vFN94 | sudo bash + curl https://git.io/vFN94 -sSf | bash This will [install Tor](https://www.torproject.org/download/download-unix.html.en) from official torproject.org packages. diff --git a/install.bash b/install.bash index bb53a21..1db44b5 100755 --- a/install.bash +++ b/install.bash @@ -10,12 +10,12 @@ sudo apt upgrade -yy sudo apt install -y tor deb.torproject.org-keyring tmpdir=$(mktemp -d) -trap "rm -rf ${tmpdir}" +trap "rm -rf ${tmpdir}" EXIT cd ${tmpdir} wget -O ormesh.tar.gz https://github.com/cmars/ormesh/releases/download/v0.1.5/ormesh_0.1.5_linux_amd64.tar.gz tar xf ormesh.tar.gz sudo cp ormesh /usr/bin/ormesh -sudo /usr/bin/ormesh agent privbind +/usr/bin/ormesh agent privbind /usr/bin/ormesh agent systemd | sudo tee /etc/systemd/system/ormesh.service