Programs from Linux and OSX standalone builds can now be symlinked into a directory in PATH as an alternative installation method, and will use readlink to find where the build was unpacked.

This commit is contained in:
Joey Hess 2013-12-15 15:57:41 -04:00
parent 314c246a45
commit 6be19b0070
9 changed files with 50 additions and 7 deletions

View file

@ -17,3 +17,6 @@ Symlink this script to `~/.local/bin/git-annex`, `~/.local/bin/git-annex-shell`
The script will detect the installation directory using `readlink`. Both absolute and relative links works. Then it starts the correct script depending on the basename of the link.
It should be possible to link the `git-annex`, `git-annex-webapp` and `git-annex-shell` scripts instead if they used `readlink` to find out the location of the prebuilt package.
> I've made the scripts look at readlink, so [[done]].
> --[[Joey]]