[tor-relays] Help With Autoupdating Tor Software

teor teor2345 at gmail.com
Tue May 1 22:43:49 UTC 2018

> On 2 May 2018, at 03:58, Keifer Bly <keifer.bly at gmail.com> wrote:
> do shell script "$ which brew
> /usr/local/bin/brew update"
> do shell script "$ which brew
> /usr/local/bin/brew upgrade tor"
> end
> When the script is run, the output is this:

$ which brew

> sh: $: command not found

/usr/local/bin/brew upgrade tor

> Error: tor already installed
> So it seems to be that it updates tor ok but when it tries to update homebrew the error is “command not found”.

No, bash can't find the $ command.
This is probably a copy-paste error.

Try running the lines of your script one at a time in the terminal.

Or just remove the "$ which brew" line, it doesn't do anything.


More information about the tor-relays mailing list