Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Update manual-installation.md to fix symlinking
Browse files Browse the repository at this point in the history
Added --relative option to instructions for symbolic linking.
ln needs this option to create working symbolic links when a non-absolute target path is provided, as in the current examples.
  • Loading branch information
pixelrust authored and definite committed Feb 23, 2016
1 parent c28d4c2 commit 3cdd044
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/installation/manual-installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ If you want to setup zanata-cli from manually (without 0install):
1. Navigate to [zanata-cli on Maven Central](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.zanata%22%20AND%20a%3A%22zanata-cli%22).
1. Download either `dist.zip` or `dist.tar.gz`.
1. Extract the contents of the archive to your location of choice.
1. Create a symbolic link to the `zanata-cli` script in the bin directory of the extracted archive. e.g. from the archive directory, run `sudo ln -s bin/zanata-cli /usr/local/bin/zanata-cli`.
1. (optional) you can also enable tab-autocomplete for the client if you use bash as your terminal shell. This can be done by copying or linking the `zanata-cli-completion` script from the bin directory to `/etc/bash_completion.d/`. e.g. `ln -s bin/zanata-cli-completion /etc/bash_completion.d/zanata-cli-completion`.
1. Create a symbolic link to the `zanata-cli` script in the bin directory of the extracted archive. e.g. from the archive directory, run `sudo ln -s --relative bin/zanata-cli /usr/local/bin/zanata-cli`.
1. (optional) you can also enable tab-autocomplete for the client if you use bash as your terminal shell. This can be done by copying or linking the `zanata-cli-completion` script from the bin directory to `/etc/bash_completion.d/`. e.g. `ln -s --relative bin/zanata-cli-completion /etc/bash_completion.d/zanata-cli-completion`.


### Nightly Builds
Expand All @@ -16,4 +16,4 @@ The latest nightly build is available as an archive that can be installed manual
1. Open [Client nightly builds](http://repository-zanata.forge.cloudbees.com/snapshot/org/zanata/zanata-cli/).
1. Open the directory showing the highest version number.
1. Download either of the distributable archives (ending with `-dist.zip` or `-dist.tar.gz`).
1. Install as per manual installation instructions above.
1. Install as per manual installation instructions above.

0 comments on commit 3cdd044

Please sign in to comment.