From 366d46a8ccfbb780b5d5dc1499c466b994a331e1 Mon Sep 17 00:00:00 2001
From: Nyr <me@nyr.be>
Date: Mon, 25 May 2020 17:23:55 +0200
Subject: [PATCH] Fix #762

Variables which can be empty, shouldn't be quoted in this situation.
---
 openvpn-install.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/openvpn-install.sh b/openvpn-install.sh
index 90aeb43..2224338 100644
--- a/openvpn-install.sh
+++ b/openvpn-install.sh
@@ -216,13 +216,13 @@ LimitNPROC=infinity" > /etc/systemd/system/openvpn-server@server.service.d/disab
 	fi
 	if [[ "$os" = "debian" || "$os" = "ubuntu" ]]; then
 		apt-get update
-		apt-get install -y openvpn openssl ca-certificates "$firewall"
+		apt-get install -y openvpn openssl ca-certificates $firewall
 	elif [[ "$os" = "centos" ]]; then
 		yum install -y epel-release
-		yum install -y openvpn openssl ca-certificates tar "$firewall"
+		yum install -y openvpn openssl ca-certificates tar $firewall
 	else
 		# Else, OS must be Fedora
-		dnf install -y openvpn openssl ca-certificates tar "$firewall"
+		dnf install -y openvpn openssl ca-certificates tar $firewall
 	fi
 	# If firewalld was just installed, enable it
 	if [[ "$firewall" == "firewalld" ]]; then