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> |
||
|---|---|---|
| .. | ||
| .gitattributes | ||
| activate-venv | ||
| build-docker-images | ||
| check-executables | ||
| Dockerfile | ||
| Dockerfile.prod | ||
| generate-failure-message | ||
| production-build | ||
| production-install | ||
| production-pgroonga | ||
| production-upgrade | ||
| production-upgrade-pg | ||
| production-verify | ||
| setup-backend | ||
| setup-frontend | ||
| success-http-headers.template.txt | ||