Mohamed Daahir
|
c79400f309
|
fix syntax error in install.sh
|
2024-02-24 21:02:00 +00:00 |
|
Mohamed Daahir
|
58b43d63f4
|
add apple m1 support
|
2024-02-24 20:00:51 +00:00 |
|
Jan Verbeek
|
3f6b5d665a
|
install.sh: Do not use tac to buffer server response
macOS doesn't ship `tac`.
|
2023-11-01 19:47:42 +01:00 |
|
Jan Verbeek
|
b919bb62f5
|
install.sh: Print curl error message on server error
|
2023-11-01 19:47:42 +01:00 |
|
Rahul De
|
20e8c4179e
|
Implement feedback, call it xh_installdir
|
2022-05-15 16:57:08 +01:00 |
|
Rahul De
|
280c6d11ba
|
Use env vars instead of CLI args
|
2022-05-15 16:47:14 +01:00 |
|
Rahul De
|
686d97db46
|
Implement feedback
|
2022-05-15 16:47:14 +01:00 |
|
Rahul De
|
b5779dd3d3
|
Add optional install-dir
|
2022-05-15 16:47:14 +01:00 |
|
ducaale
|
28c1504f91
|
replace -V instead of --version in install.sh
|
2021-12-23 19:37:30 +02:00 |
|
Tiago Ilieve
|
2bd22586e7
|
Add aarch64 support
|
2021-12-20 07:45:53 -03:00 |
|
Shun Sakai
|
ce7854864e
|
Add feature status to version
|
2021-11-08 16:00:00 +09:00 |
|
Jan Verbeek
|
64c6a5e9bc
|
Do not hardcode /tmp in install script
|
2021-06-01 11:39:18 +02:00 |
|
ducaale
|
f75d05469c
|
list all the locations xh is installed to
|
2021-05-01 16:08:20 +01:00 |
|
Mohamed Daahir
|
fe4323180e
|
use curl's -s flag only when -S is used
Co-authored-by: Jan Verbeek <jan.verbeek@posteo.nl>
|
2021-05-01 16:05:41 +01:00 |
|
ducaale
|
a980a6033c
|
enable progress bar when downloading xh binary
|
2021-05-01 15:10:28 +01:00 |
|
ducaale
|
656aa2ba0f
|
defer creating temp dir to when needed
|
2021-05-01 14:29:46 +01:00 |
|
Mohamed Daahir
|
075566cb2a
|
Ignore errors from deleting non-existing $temp_dir
Co-authored-by: Jan Verbeek <jan.verbeek@posteo.nl>
|
2021-05-01 14:21:02 +01:00 |
|
ducaale
|
167e25535c
|
delete temporarily created files on exit
|
2021-04-28 19:32:25 +01:00 |
|
ducaale
|
5b5c2809f6
|
remove the unnecessary amd64 check
|
2021-04-10 23:08:29 +01:00 |
|
Mohamed Daahir
|
0b3d11b4d2
|
more robust detection for ARM architectures
Co-authored-by: Jan Verbeek <jan.verbeek@posteo.nl>
|
2021-04-10 23:07:47 +01:00 |
|
Mohamed Daahir
|
00736a2fa9
|
Update the success message
Co-authored-by: Jan Verbeek <jan.verbeek@posteo.nl>
|
2021-04-10 23:01:31 +01:00 |
|
ducaale
|
48ed0c849e
|
use tac to disable streaming from curl/wget
|
2021-04-09 20:58:58 +01:00 |
|
Mohamed Daahir
|
35a2a77a2f
|
match any arm variant arch to arm
|
2021-04-09 18:34:18 +01:00 |
|
ducaale
|
9d96b7edf4
|
quote strings when possible
|
2021-04-05 17:49:18 +01:00 |
|
ducaale
|
5590fcfa5a
|
use while loop correctly
|
2021-04-05 17:39:06 +01:00 |
|
ducaale
|
652cf7e405
|
remove obsolete line
|
2021-04-05 17:26:53 +01:00 |
|
Mohamed Daahir
|
a54e603174
|
prompt again if bin doesn't exist
Co-authored-by: Jan Verbeek <jan.verbeek@posteo.nl>
|
2021-04-05 17:26:12 +01:00 |
|
Mohamed Daahir
|
21fb3aef83
|
surround quotes around $bindir
Co-authored-by: Jan Verbeek <jan.verbeek@posteo.nl>
|
2021-04-05 17:23:29 +01:00 |
|
ducaale
|
c59a9484a4
|
update read to work in non-interactive mode
also reverts to using sh
|
2021-04-05 16:24:45 +01:00 |
|
ducaale
|
7cd1fae56c
|
get install dir from the user interactively
|
2021-04-05 16:05:11 +01:00 |
|
ducaale
|
8048a63dd9
|
allow setting install location via bindir
|
2021-04-05 13:14:32 +01:00 |
|
ducaale
|
3e9f4b158d
|
do not suppress errors from wget
|
2021-04-03 23:48:18 +01:00 |
|
ducaale
|
0d1dfc1755
|
Revert "don't silence errors"
This reverts commit 94446b082df5b631184546285441d99451282cfd.
|
2021-04-03 23:35:48 +01:00 |
|
ducaale
|
94446b082d
|
don't silence errors
|
2021-04-03 23:33:18 +01:00 |
|
ducaale
|
3dc8ae127d
|
exit immediately on error
|
2021-04-03 23:30:58 +01:00 |
|
ducaale
|
214d4dba6d
|
fallback to wget if curl not available
|
2021-04-03 23:29:08 +01:00 |
|
Mohamed Daahir
|
730dc4b0cc
|
simplify getting the version name
Co-authored-by: Jan Verbeek <jan.verbeek@posteo.nl>
|
2021-04-03 21:59:57 +01:00 |
|
ducaale
|
a93c2bce3a
|
don't remind users of adding /usr/local/bin to their path
|
2021-04-03 21:38:01 +01:00 |
|
ducaale
|
933acf111f
|
handle errors from curl
|
2021-04-03 18:52:59 +01:00 |
|
Mohamed Daahir
|
c0dd9f0b4e
|
surround variables with double quotes
Co-authored-by: Jan Verbeek <jan.verbeek@posteo.nl>
|
2021-04-03 18:39:35 +01:00 |
|
Mohamed Daahir
|
db5252e4da
|
Remove existing symlinks
Co-authored-by: Jan Verbeek <jan.verbeek@posteo.nl>
|
2021-04-03 18:26:03 +01:00 |
|
ducaale
|
083a948ff4
|
use mktemp instead of deleting existing files
also sysmlinks xhs
|
2021-04-02 23:50:43 +01:00 |
|
ducaale
|
dc0d4c9d7d
|
Add shell script for install xh
|
2021-04-02 22:20:49 +01:00 |
|