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