summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-05-19 05:24:33 +0000
committerRoger Dingledine <arma@torproject.org>2005-05-19 05:24:33 +0000
commit918c5a9115c1e39e8ef28e6241cfcd7bdaf5374b (patch)
treed99918c5d8fe23d527cd62f5833b2848c4d8002a
parentc466f2b9e767717b42489833f0ebbb33ad96cee7 (diff)
downloadtor-918c5a9115c1e39e8ef28e6241cfcd7bdaf5374b.tar.gz
tor-918c5a9115c1e39e8ef28e6241cfcd7bdaf5374b.zip
another rpm spec tweak contributed by Christopher Schanzle
svn:r4271
-rw-r--r--tor.spec.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/tor.spec.in b/tor.spec.in
index 419fa6d0c0..faa5d0f9d0 100644
--- a/tor.spec.in
+++ b/tor.spec.in
@@ -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 @@ if [ ! -n "`/usr/bin/id -u %{runuser} 2>/dev/null`" ]; then
# 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