File easy-rsa-packaging.patch of Package easy-rsa

--- easyrsa3/easyrsa.orig	2015-04-05 21:42:25.422949081 +0200
+++ easyrsa3/easyrsa	2015-04-05 21:43:55.493395425 +0200
@@ -972,6 +972,9 @@
 	# command-line path:
 	if [ -f "$EASYRSA_VARS_FILE" ]; then
 		vars="$EASYRSA_VARS_FILE"
+   # packaging defaults
+   elif [ -f "/etc/easy-rsa/vars" ]; then
+      vars="/etc/easy-rsa/vars"
 	# EASYRSA_PKI, if defined:
 	elif [ -n "$EASYRSA_PKI" ] && [ -f "$EASYRSA_PKI/vars" ]; then
 		vars="$EASYRSA_PKI/vars"
openSUSE Build Service is sponsored by