mirror of
https://github.com/zulip/zulip.git
synced 2026-06-30 21:11:04 +08:00
`check_version` in `install-yarn` had the rather careful check that the yarn it installed into `/usr/bin/yarn` was the yarn which was first in the user's `$PATH`. This caused problems when the user had a pre-existing `/usr/local/bin/yarn`; however, those problems are limited to the `install-yarn` script itself, since the nearly all calls to yarn from Zulip's code already hardcode the `/srv/zulip-yarn` location, and do not depend on what is in `$PATH`. Remove the checks in `install-yarn` that depend on the local `$PATH`, and stop installing our `yarn` into it. We also adjust the two callsites which did not specify the full path to `yarn`, so use `/srv/zulip-yarn`. Fixes: #23993 Co-authored-by: Alex Vandiver <alexmv@zulip.com> |
||
|---|---|---|
| .. | ||
| apns | ||
| dev-vagrant-docker | ||
| emoji | ||
| __init__.py | ||
| bootstrap-aws-installer | ||
| bootstrap-awscli.sh | ||
| build_pygments_data | ||
| build_timezone_values | ||
| dev-motd | ||
| generate_integration_bots_avatars.py | ||
| generate_zulip_bots_static_files.py | ||
| generate-fixtures | ||
| generate-test-credentials | ||
| install-aws-server | ||
| install-shellcheck | ||
| install-shfmt | ||
| install-transifex-cli | ||
| lang.json | ||
| optimize-svg | ||
| postgresql-init-dev-db | ||
| postgresql-init-test-db | ||
| setup_venvs.py | ||
| vagrant-provision | ||