summaryrefslogtreecommitdiff
path: root/tor.spec.in
diff options
context:
space:
mode:
authorAndrew Lewman <andrew@torproject.org>2007-09-23 15:53:43 +0000
committerAndrew Lewman <andrew@torproject.org>2007-09-23 15:53:43 +0000
commit8f346579da1686bea9b9b695092d163285315984 (patch)
tree1c2cf1572207341811f3adfdf0ca078af531ded5 /tor.spec.in
parent19967acb552974ed00aa69108aa6cf5cffdb8322 (diff)
downloadtor-8f346579da1686bea9b9b695092d163285315984.tar.gz
tor-8f346579da1686bea9b9b695092d163285315984.zip
Copy a torrc.sample into the correct location, rather than overwriting
existing torrc files. svn:r11595
Diffstat (limited to 'tor.spec.in')
-rw-r--r--tor.spec.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/tor.spec.in b/tor.spec.in
index 87da8ab93d..91d6ef20df 100644
--- a/tor.spec.in
+++ b/tor.spec.in
@@ -191,7 +191,8 @@ for high-stakes anonymity.
%__install -p -m 755 contrib/torctl ${RPM_BUILD_ROOT}%{_bindir}
# Set up config file; "sample" file implements a basic user node.
-%__install -p -m 644 ${RPM_BUILD_ROOT}%{_sysconfdir}/%{name}/torrc.sample ${RPM_BUILD_ROOT}%{_sysconfdir}/%{name}/torrc
+%__install -p -m 644
+%${RPM_BUILD_ROOT}%{_sysconfdir}/%{name}/torrc.sample %${RPM_BUILD_ROOT}%{_sysconfdir}/%{name}/torrc.sample
# Install the logrotate control file.
%__mkdir_p -m 755 ${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d