Delete old easy-rsa remove

It isn't packaged anymore with openvpn in the supported distros
This commit is contained in:
randomshell 2020-05-02 03:38:51 +00:00 committed by GitHub
parent 5e2e67f78d
commit 170fbdbeb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -677,10 +677,6 @@ function installOpenVPN() {
# Install required dependencies and upgrade the system
pacman --needed --noconfirm -Syu openvpn iptables openssl wget ca-certificates curl
fi
# An old version of easy-rsa was available by default in some openvpn packages
if [[ -d /etc/openvpn/easy-rsa/ ]]; then
rm -rf /etc/openvpn/easy-rsa/
fi
fi
# Find out if the machine uses nogroup or nobody for the permissionless group