mirror of
https://github.com/apernet/hysteria.git
synced 2025-04-02 03:57:38 +03:00
fix(script): url in rerun_with_sudo
This commit is contained in:
parent
2716b92e94
commit
ac56271d03
1 changed files with 2 additions and 2 deletions
|
@ -299,9 +299,9 @@ rerun_with_sudo() {
|
|||
chmod +x "$_tmp_script"
|
||||
|
||||
if has_command curl; then
|
||||
curl -o "$_tmp_script" 'https://get.hy2.sh/'
|
||||
curl -o "$_tmp_script" 'https://raw.githubusercontent.com/apernet/hysteria/hy1/install_server.sh'
|
||||
elif has_command wget; then
|
||||
wget -O "$_tmp_script" 'https://get.hy2.sh'
|
||||
wget -O "$_tmp_script" 'https://raw.githubusercontent.com/apernet/hysteria/hy1/install_server.sh'
|
||||
else
|
||||
return 127
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue