Commit Graph

286 Commits (master)

Author SHA1 Message Date
DuckSoft a131c9e30f
README: update fhs link to Wikipedia 2020-09-28 10:49:16 +08:00
IceCodeNew 9089b11d8c
Merge pull request #147 from v2fly/develop
Replace `unzip` with `bsdtar`
2020-09-27 22:54:48 +08:00
IceCodeNew 5573d7b6df Replace `unzip` with `bsdtar`
The later is much faster and capable of supporting hundreds of compression file formats.
2020-09-27 22:50:51 +08:00
IceCodeNew 5e6762fc4a Merge remote-tracking branch 'upstream/develop' into upstream_master 2020-09-25 21:30:51 +08:00
kirin10000 5518635555 Place options ahead of command (#143) 2020-09-25 21:30:07 +08:00
IceCodeNew ddc1abdb7b
Merge pull request #142 from v2fly/develop 2020-09-25 16:56:30 +08:00
IceCodeNew c40ab4a986 完善 `remove_v2ray` 函数 2020-09-25 16:53:24 +08:00
IceCodeNew 661312a9cc fix SC2120 2020-09-25 16:49:17 +08:00
IceCodeNew 62d33830da install package which provide `tput`; change function `install_software` 2020-09-25 16:43:55 +08:00
IceCodeNew e3f9f1952f Also test `install-dat-release.sh` 2020-09-25 16:13:01 +08:00
IceCodeNew 464c642050 Merge remote-tracking branch 'upstream/develop' into HEAD 2020-09-25 16:12:55 +08:00
IceCodeNew 9760e6fe1b create function `curl`, instead of alias `curl` 2020-09-25 16:08:05 +08:00
IceCodeNew 4d3eac3ff3
Merge pull request #141 from v2fly/develop 2020-09-25 16:00:01 +08:00
IceCodeNew 3540fe109c assume yes to remove action; sync repo while installing package
Fix https://github.com/v2fly/fhs-install-v2ray/pull/141/checks?check_run_id=1164621937
2020-09-25 15:56:39 +08:00
IceCodeNew 8e5c2e067f 修复在没有预装 `curl` 的系统上脚本会运行失败的问题 2020-09-25 15:33:02 +08:00
IceCodeNew c3ebd755b9 Introduce a more convenient way to detect systemd
Refer: https://manpages.ubuntu.com/manpages/focal/en/man3/sd_booted.3.html
2020-09-25 15:06:54 +08:00
IceCodeNew 8182973f3f Filed test on Ubuntu, CentOS, OpenSUSE, Arch Linux 2020-09-25 14:21:19 +08:00
IceCodeNew 00226173ac
Merge pull request #139 from v2fly/develop
switch from `command` to `type`; put `dnf` ahead of `yum`; assume yes
2020-09-25 00:27:42 +08:00
IceCodeNew e574e2aacd switch from `command` to `type`; put `dnf` ahead of `yum`; assume yes
0. command -v could return an alias while type -P will force a PATH search
1. There are distribution that has aliases for `apt` or `yum` while its prefer package manager is not `apt` nor ``yum
2. Assume yes for the call we made to all kind of package managers
2020-09-25 00:22:34 +08:00
IceCodeNew d285ea1134
Use CentOS 8. 2020-09-25 00:08:34 +08:00
IceCodeNew 0ec3fa5772 Take another way to accomplish runtime image changing 2020-09-24 23:53:57 +08:00
IceCodeNew 825b71ca25 Use centos7.0 as runtime image so as to ...
challenge the shell script in the most knotty environment that we are willing to provide support.
2020-09-24 23:07:46 +08:00
IceCodeNew 51ded6c2c8 Run field test as root 2020-09-24 23:06:00 +08:00
IceCodeNew 6837b8a8a5 Introduce `filed-test` 2020-09-24 23:05:39 +08:00
IceCodeNew 2569058459
Ignore `README` & `LICENSE` 2020-09-24 21:52:43 +08:00
IceCodeNew a2ed4a9c56 Merge remote-tracking branch 'upstream/develop' into upstream_master 2020-09-24 21:46:57 +08:00
IceCodeNew ae9e64ff83 remove all the fancy but unnecessary args, as compatibility values most.
https://github.com/v2fly/fhs-install-v2ray/issues/132#issuecomment-698350955
2020-09-24 21:46:12 +08:00
IceCodeNew 2cf0c90b01 create function `curl`, instead of alias `curl`
Try to fix #132.
> `-q`: Disable .curlrc
> `-L`: Follow redirects
> `--false-start`: Enable TLS False Start
> `--http2`: Use HTTP 2
> `--tlsv1.2`: Use TLSv1.2 or greater
2020-09-24 21:40:16 +08:00
IceCodeNew 3e27de40f0
Merge pull request #131 from v2fly/develop 2020-09-24 16:43:04 +08:00
IceCodeNew b990f89b6e `shfmt -i 2 -ci -sr install-release.sh` 2020-09-24 16:40:26 +08:00
IceCodeNew 5c0bfb6532 Retry when transient error occurred 2020-09-24 15:38:59 +08:00
IceCodeNew 098244b343 Show download progress.
Fix #128.
2020-09-24 15:30:01 +08:00
IceCodeNew 012d9beeeb Merge remote-tracking branch 'upstream/develop' into upstream_master 2020-09-22 22:15:40 +08:00
ricuhkaen 99255e5281
typos in file path upon new config file(s) creation (#127)
when new config.json gets created, the prompt should be "installed: /usr/local/etc/v2ray/config.json" instead of "installed: /usr/local/etc/v2rayconfig.json". (and similar typos for confdir)
2020-09-22 22:01:34 +08:00
IceCodeNew a02a434fd8 Merge remote-tracking branch 'upstream/develop' into upstream_master 2020-09-21 16:43:36 +08:00
sunshineplan 4163816e8b Fix check proxy address (#125) 2020-09-21 16:40:19 +08:00
IceCodeNew 3e49d5b2cb 精简 README
我希望精简后的 README 能有更多人看到最后。
这样可以减少 PR 直接发往 master 分支,或者提问其实可以参考 README 自行解决的情况。
2020-09-21 16:40:19 +08:00
wind2008hxy aa6e6fb260
add support for archlinux package managers 2020-09-21 16:11:06 +08:00
IceCodeNew fd00a5a2ab
Update sh-checker.yml 2020-09-20 01:33:48 +08:00
IceCodeNew 38987a8e86
Merge pull request #120 from v2fly/develop
bug fix for $114
2020-09-20 01:30:47 +08:00
IceCodeNew cbcaf9c5c1 bug fix for $114
我 是 傻 逼
2020-09-20 01:27:54 +08:00
IceCodeNew b4197dd807
Merge pull request #116 from v2fly/develop 2020-09-20 00:39:48 +08:00
IceCodeNew f0eacd1ca5 `shfmt -i 2 -ci` 2020-09-20 00:35:30 +08:00
IceCodeNew e7e9e9a47d Create sh-checker.yml 2020-09-20 00:14:02 +08:00
IceCodeNew 3a14bbd46f Emit some colored notice. 2020-09-19 22:28:54 +08:00
IceCodeNew 6773934fa7 fix shell warning 2020-09-19 21:53:49 +08:00
IceCodeNew d4fe43b7c9 Create drop-in configurations for systemd unit files 2020-09-19 21:21:34 +08:00
东方有鱼名为咸 4a4f52a68c add user-agent (#111)
Co-authored-by: IceCodeNew <32576256+IceCodeNew@users.noreply.github.com>
2020-09-19 19:06:28 +08:00
IceCodeNew bc77ec4255 Merge remote-tracking branch 'upstream/develop' into HEAD 2020-09-19 19:05:03 +08:00
xiagw cbf08bdb26 fix function get_versionchange to if -n,reduce indent 2020-09-19 19:02:29 +08:00