Skip to content

Commit

Permalink
Update ssrmu.sh
Browse files Browse the repository at this point in the history
Update Libsodium installation scripts.
  • Loading branch information
tom-kst authored Dec 12, 2019
1 parent aa94dd7 commit d97baf5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ssrmu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1018,7 +1018,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 @@ -1029,7 +1029,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 @@ -1875,4 +1875,4 @@ case "$num" in
echo -e "${Error} 请输入正确的数字 [1-15]"
;;
esac
fi
fi

0 comments on commit d97baf5

Please sign in to comment.