Skip to content

Commit

Permalink
修复 libsodium 下载路径
Browse files Browse the repository at this point in the history
  • Loading branch information
smithyj authored Sep 26, 2019
1 parent e42d05b commit 018560c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ssr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,7 @@ Install_Libsodium(){
echo -e "${Info} 安装依赖..."
yum -y groupinstall "Development Tools"
echo -e "${Info} 下载..."
wget --no-check-certificate -N "https://github.com/jedisct1/libsodium/releases/download/${Libsodiumr_ver}/libsodium-${Libsodiumr_ver}.tar.gz"
wget --no-check-certificate -N "https://github.com/jedisct1/libsodium/releases/download/${Libsodiumr_ver}-RELEASE/libsodium-${Libsodiumr_ver}.tar.gz"
echo -e "${Info} 解压..."
tar -xzf libsodium-${Libsodiumr_ver}.tar.gz && cd libsodium-${Libsodiumr_ver}
echo -e "${Info} 编译安装..."
Expand All @@ -770,7 +770,7 @@ Install_Libsodium(){
echo -e "${Info} 安装依赖..."
apt-get install -y build-essential
echo -e "${Info} 下载..."
wget --no-check-certificate -N "https://github.com/jedisct1/libsodium/releases/download/${Libsodiumr_ver}/libsodium-${Libsodiumr_ver}.tar.gz"
wget --no-check-certificate -N "https://github.com/jedisct1/libsodium/releases/download/${Libsodiumr_ver}-RELEASE/libsodium-${Libsodiumr_ver}.tar.gz"
echo -e "${Info} 解压..."
tar -xzf libsodium-${Libsodiumr_ver}.tar.gz && cd libsodium-${Libsodiumr_ver}
echo -e "${Info} 编译安装..."
Expand Down Expand Up @@ -1523,4 +1523,4 @@ case "$num" in
*)
echo -e "${Error} 请输入正确的数字 [1-15]"
;;
esac
esac

0 comments on commit 018560c

Please sign in to comment.