mirror of
https://github.com/taigrr/nats.docs
synced 2025-01-18 04:03:23 -08:00
Correct the installation path
### Description This PR correct the installation path before moving the executed file from the unzipped folder ### How to reproduce ```text > curl -L https://github.com/nats-io/nats-server/releases/download/v2.0.0/nats-server-v2.0.0-linux-amd64.zip -o nats-server.zip > unzip nats-server.zip -d nats-server Archive: nats-server.zip creating: nats-server-v2.0.0-linux-amd64/ inflating: nats-server-v2.0.0-linux-amd64/README.md inflating: nats-server-v2.0.0-linux-amd64/LICENSE inflating: nats-server-v2.0.0-linux-amd64/nats-server > sudo cp nats-server/nats-server-v2.0.0-linux-amd64/nats-server /usr/bin ``` The above `sudo cp nats-server-v2.0.0-linux-amd64/nats-server /usr/bin` doesn't work because the source should be ` nats-server/nats-server-v2.0.0-linux-amd64/nats-server`
This commit is contained in:
parent
dc1130e583
commit
a7fc21ca1d
@ -79,7 +79,7 @@ Archive: nats-server.zip
|
||||
inflating: nats-server-v2.0.0-linux-amd64/LICENSE
|
||||
inflating: nats-server-v2.0.0-linux-amd64/nats-server
|
||||
|
||||
> sudo cp nats-server-v2.0.0-linux-amd64/nats-server /usr/bin
|
||||
> sudo cp nats-server/nats-server-v2.0.0-linux-amd64/nats-server /usr/bin
|
||||
```
|
||||
|
||||
## Installing From the Source
|
||||
|
Loading…
x
Reference in New Issue
Block a user