From 642f6cd3b101a1e4f69dc334cfb55a249ea13f60 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Fri, 6 Dec 2013 15:21:42 +0100 Subject: [PATCH] use the correct config file --- ocserv.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/ocserv.spec b/ocserv.spec index 7f35e14..d2328ab 100644 --- a/ocserv.spec +++ b/ocserv.spec @@ -55,6 +55,7 @@ SSL VPN protocol. rm -f src/http-parser/http_parser.c src/http-parser/http_parser.h rm -f libopts/*.c libopts/*.h libopts/*/*.c libopts/*/*.h rm -f src/pcl/*.c src/pcl/*.h +sed -i 's|/etc/ocserv.conf|/etc/ocserv/ocserv.conf|g' src/config.c # GPLv3 in headers was a gnulib bug: # http://lists.gnu.org/archive/html/bug-gnulib/2013-11/msg00062.html sed -i 's/either version 3 of the License/either version 2 of the License/g' build-aux/snippet/*