transifex / cli

The Transifex command-line client
Apache License 2.0
66 stars 24 forks source link

Install script doesn't check before adding install path to PATH env #186

Open rffontenelle opened 1 year ago

rffontenelle commented 1 year ago

The installation script "install.sh" add tx's installation path to the PATH variable regardless if being in the PATH already. Running this script more than once (e.g. due to testing purpose or version update) causes multiple lines to be added into the detected profile (~/.bashrc, etc.).

I'd love to not have unnecessary entries added to my ~/.bashrc, or to be able to pass a flag disabling it somehow. :)

keithbowes commented 8 months ago

I figure the thought is that you'd only install it once and then run tx update to do version updates.