add debian auto install libsodium

This commit is contained in:
bh 2019-06-11 17:07:00 +08:00
parent 59c0cd22b6
commit 345cf93391

View File

@ -226,7 +226,7 @@ else
read -n1 -r -p "Press any key to continue..." read -n1 -r -p "Press any key to continue..."
if [[ "$OS" = 'debian' ]]; then if [[ "$OS" = 'debian' ]]; then
apt-get update apt-get update
apt-get install openvpn iptables openssl ca-certificates -y apt-get install openvpn iptables openssl ca-certificates libsodium23 libsodium-dev -y
else else
# Else, the distro is CentOS # Else, the distro is CentOS
yum install epel-release -y yum install epel-release -y