Create /etc/openvpn/client

openvpn package from openvpn.net repository doesn't have `server` and `client` directories
This commit is contained in:
randomshell 2020-05-02 02:14:10 +00:00 committed by GitHub
parent a9c60875d1
commit fc7175a544
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -677,7 +677,7 @@ function installOpenVPN() {
# Install required dependencies and upgrade the system # Install required dependencies and upgrade the system
pacman --needed --noconfirm -Syu openvpn iptables openssl wget ca-certificates curl pacman --needed --noconfirm -Syu openvpn iptables openssl wget ca-certificates curl
fi fi
mkdir -p /etc/openvpn/server mkdir -p /etc/openvpn/server /etc/openvpn/client
# An old version of easy-rsa was available by default in some openvpn packages # An old version of easy-rsa was available by default in some openvpn packages
if [[ -d /etc/openvpn/easy-rsa/ ]]; then if [[ -d /etc/openvpn/easy-rsa/ ]]; then
rm -rf /etc/openvpn/easy-rsa/ rm -rf /etc/openvpn/easy-rsa/