Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Quote pip install with brackets to avoid shell interpretation. (#9151)
Browse files Browse the repository at this point in the history
  • Loading branch information
clokep authored Jan 18, 2021
1 parent 6633a40 commit de45bf5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions changelog.d/9151.doc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Quote `pip install` packages when extras are used to avoid shells interpreting bracket characters.
2 changes: 1 addition & 1 deletion docs/postgres.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ connect to a postgres database.
virtualenv](../INSTALL.md#installing-from-source), you can install
the library with:

~/synapse/env/bin/pip install matrix-synapse[postgres]
~/synapse/env/bin/pip install "matrix-synapse[postgres]"

(substituting the path to your virtualenv for `~/synapse/env`, if
you used a different path). You will require the postgres
Expand Down
2 changes: 1 addition & 1 deletion docs/workers.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ The appropriate dependencies must also be installed for Synapse. If using a
virtualenv, these can be installed with:

```sh
pip install matrix-synapse[redis]
pip install "matrix-synapse[redis]"
```

Note that these dependencies are included when synapse is installed with `pip
Expand Down

0 comments on commit de45bf5

Please sign in to comment.