Detect TTY before interaction, correctly detect installation in PATH
- If
akamai
was installed in aPATH
directory that wasn't writeable by the current user (e.g./usr/local/bin
) it continued to ask to be installed into the path on each run - We now try to detect if STDOUT is a TTY and if not, we don't run interactively