Dct Mei
a2bd3852e4
Revert "Make scripts more compatible and fail fast"
...
This reverts commit cf8dab851f
.
This affects the normal operation of the script, and debugging should be done deliberately, not to the user.
2020-07-13 00:56:56 +08:00
loyalsoldier
cf8dab851f
Make scripts more compatible and fail fast
2020-07-11 18:25:10 +08:00
IceCodeNew
fb1cc7f6e7
Make curl silence again.
2020-06-13 23:52:05 +08:00
Dct Mei
38da8a7b93
style: Canonical code format
...
1. Regulate two judgments, this will not cause functional changes.
2. Add some supplementary content, mainly for subsequent maintenance.
2020-06-13 20:44:22 +08:00
tzwjkl
1ec9723760
Merge pull request #2 from v2fly/master
...
Up to date from Origin
2020-06-13 09:30:59 +08:00
IceCodeNew
a0bb5d8eed
Only implied some ShellCheck fixes.
...
添上了必要的引号,同时手动修复了 [SC2181](https://github.com/koalaman/shellcheck/wiki/SC2181 ) 错误。
2020-06-12 12:54:36 +08:00
tzwjkl
b92ed1985b
fix install mode parameter
2020-06-11 15:35:50 +08:00
tzwjkl
9bfbc5df76
Add Comments for check_if_running_as_root()
2020-06-08 04:20:43 +08:00
tzwjkl
4488a5c20b
Add root uid judgment before running
2020-06-08 03:38:51 +08:00
tzwjkl
a0a1c5af20
Remove unnecessary permission changes.
2020-06-06 15:29:44 +08:00
Dct Mei
95020aa14d
fix: Extra files
...
After executing install, two redundant .new files will be left out, which should be removed.
2020-04-29 15:05:10 +08:00
Dct Mei
c5deaa3d12
fix: Permissions issue
...
geoip.dat and geosite.dat should be 755, not 644.
2020-04-29 15:00:34 +08:00
Dct Mei
9c8f7fbbbf
style: Add some tips
2020-04-29 14:40:52 +08:00
Dct Mei
f1ce0cb4c0
feat: Rename and add some comments
...
1. I originally planned to use Python, and after thinking about it, I still used Bash.
2. The script depends on cURL, but you need to solve it yourself.
2020-04-29 14:09:23 +08:00