Commit 1b9a5df
authored
Update
I want this tool to be in my `$HOME/bin` rather than `/usr/local`.
Introduces a second argument that is the installation destination. Also
allows you to pass `latest` as the first one:
```
install latest $HOME
```
Otherwise one would need to find the latest version manually which I do
not like.
Also avoid using `mkdir` since `install` allows you to specify
permissions ignoring `umask` completely. This is somewhat unrealated, is
is my own thing as I am Fedora packager and it is just cought my eye :-)
Awesome tool, going to try it now. Cheers!
Signed-off-by: Lukáš Zapletal <lukas@zapletalovi.com>install script to support a custom installation path (#244)1 parent 9fc88b8 commit 1b9a5df
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
15 | | - | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
27 | | - | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
0 commit comments