snail007 2 years ago
parent
commit
01df49e080
4 changed files with 8 additions and 8 deletions
  1. 2 2
      install.sh
  2. 2 2
      install_auto.sh
  3. 2 2
      install_auto_commercial.sh
  4. 2 2
      install_commercial.sh

+ 2 - 2
install.sh

@@ -1,6 +1,6 @@
 #!/bin/bash
 F="proxy-linux-amd64.tar.gz"
-manual="https://snail.gitee.io/proxy/manual/"
+manual="https://snail007.host900.com/goproxy/manual/"
 set -e
 WORKDIR="/tmp/proxy"
 rm -rf $WORKDIR
@@ -8,7 +8,7 @@ mkdir $WORKDIR
 cp $F $WORKDIR
 cd /tmp/proxy
 echo -e ">>> installing ... \n"
-tar zxvf $F >/dev/null
+tar zxvf $F >/dev/null 2>&1
 set +e
 killall -9 proxy >/dev/null 2>&1
 set -e

+ 2 - 2
install_auto.sh

@@ -8,13 +8,13 @@ mkdir /tmp/proxy
 cd /tmp/proxy
 
 echo -e "\n>>> downloading ... $F\n"
-manual="https://snail.gitee.io/proxy/manual/"
+manual="https://snail007.host900.com/goproxy/manual/zh/"
 LAST_VERSION=$(curl --silent "https://mirrors.host900.com/https://api.github.com/repos/snail007/goproxy/releases/latest" | grep -Po '"tag_name":"\K.*?(?=")')
 wget  -t 1 "https://mirrors.host900.com/https://github.com/snail007/goproxy/releases/download/${LAST_VERSION}/$F"
 
 echo -e ">>> installing ... \n"
 # #install proxy
-tar zxvf $F >/dev/null
+tar zxvf $F >/dev/null 2>&1
 set +e
 killall -9 proxy >/dev/null 2>&1
 set -e

+ 2 - 2
install_auto_commercial.sh

@@ -7,13 +7,13 @@ fi
 mkdir /tmp/proxy
 cd /tmp/proxy
 echo -e "\n>>> downloading ... $F\n"
-manual="https://snail.gitee.io/proxy/manual/"
+manual="https://snail007.host900.com/goproxy/manual/zh/"
 LAST_VERSION=$(curl --silent "https://mirrors.host900.com/https://api.github.com/repos/snail007/goproxy/releases/latest" | grep -Po '"tag_name":"\K.*?(?=")')
 wget  -t 1 "https://mirrors.host900.com/https://github.com/snail007/goproxy/releases/download/${LAST_VERSION}/$F"
 
 echo -e ">>> installing ... \n"
 # #install proxy
-tar zxvf $F >/dev/null
+tar zxvf $F >/dev/null 2>&1
 set +e
 killall -9 proxy >/dev/null 2>&1
 set -e

+ 2 - 2
install_commercial.sh

@@ -1,6 +1,6 @@
 #!/bin/bash
 F="proxy-linux-amd64_commercial.tar.gz"
-manual="https://snail.gitee.io/proxy/manual/"
+manual="https://snail007.host900.com/goproxy/manual/"
 set -e
 WORKDIR="/tmp/proxy"
 rm -rf $WORKDIR
@@ -8,7 +8,7 @@ mkdir $WORKDIR
 cp $F $WORKDIR
 cd /tmp/proxy
 echo -e ">>> installing ... \n"
-tar zxvf $F >/dev/null
+tar zxvf $F >/dev/null 2>&1
 set +e
 killall -9 proxy >/dev/null 2>&1
 set -e