Skip to content

Commit

Permalink
Update libsodium.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-kst authored Dec 13, 2019
1 parent d97baf5 commit 3d0da42
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libsodium.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,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}
Expand All @@ -53,7 +53,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}
Expand All @@ -79,4 +79,4 @@ case "$action" in
echo "输入错误 !"
echo "用法: [ install ]"
;;
esac
esac

0 comments on commit 3d0da42

Please sign in to comment.