[or-cvs] another rpm spec tweak contributed by Christopher Schanzle
Roger Dingledine
arma at seul.org
Thu May 19 05:24:35 UTC 2005
Update of /home2/or/cvsroot/tor
In directory moria.mit.edu:/home2/arma/work/onion/cvs/tor
Modified Files:
tor.spec.in
Log Message:
another rpm spec tweak contributed by Christopher Schanzle
Index: tor.spec.in
===================================================================
RCS file: /home2/or/cvsroot/tor/tor.spec.in,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- tor.spec.in 19 May 2005 05:14:12 -0000 1.16
+++ tor.spec.in 19 May 2005 05:24:33 -0000 1.17
@@ -6,7 +6,7 @@
# This should be incremented whenever the spec file changes, but
# can drop back to zero at a new Tor version
-%define specver 1
+%define specver 2
## Things users may want to change
#
@@ -200,9 +200,9 @@
# One would also like to default the UID, but doing that properly would
# also require thought.
if [ -x /sbin/nologin ]; then
- %{_sbindir}/useradd -r -g %{runuser} -d %{localstatedir}/lib/%{name} -s /sbin/nologin %{runuser} 2> /dev/null
+ %{_sbindir}/useradd -r -g %{runuser} -d %{_localstatedir}/lib/%{name} -s /sbin/nologin %{runuser} 2> /dev/null
else
- %{_sbindir}/useradd -r -g %{runuser} -d %{localstatedir}/lib/%{name} -s /bin/false %{runuser} 2> /dev/null
+ %{_sbindir}/useradd -r -g %{runuser} -d %{_localstatedir}/lib/%{name} -s /bin/false %{runuser} 2> /dev/null
fi
fi
exit 0
More information about the tor-commits
mailing list