Fix home directory of trust router user in centos packaging
authorSam Hartman <hartmans@debian.org>
Wed, 8 Oct 2014 18:33:33 +0000 (14:33 -0400)
committerSam Hartman <hartmans@debian.org>
Wed, 8 Oct 2014 18:33:33 +0000 (14:33 -0400)
trust_router.spec

index c667fe7..1cc4fc3 100644 (file)
@@ -1,7 +1,7 @@
 %global optflags %{optflags} -Wno-parentheses
 Name:           trust_router
 Version:        1.4.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Moonshot Trust Router
 
 Group:          System Environment/Libraries
@@ -82,7 +82,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %pre
 getent group trustrouter > /dev/null || groupadd -r trustrouter
-getent passwd trustrouter > /dev/null || useradd -r -g trustrouter -d /var/lib/trustrouter -s /sbin/nologin -c "GSS-EAP Trust Router service account" trustrouter
+getent passwd trustrouter > /dev/null || useradd -r -g trustrouter -d /var/lib/trust_router -s /sbin/nologin -c "GSS-EAP Trust Router service account" trustrouter
 exit 0