diff options
author | Andrew Lewman <andrew@torproject.org> | 2007-09-23 15:53:43 +0000 |
---|---|---|
committer | Andrew Lewman <andrew@torproject.org> | 2007-09-23 15:53:43 +0000 |
commit | 8f346579da1686bea9b9b695092d163285315984 (patch) | |
tree | 1c2cf1572207341811f3adfdf0ca078af531ded5 /tor.spec.in | |
parent | 19967acb552974ed00aa69108aa6cf5cffdb8322 (diff) | |
download | tor-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.in | 3 |
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 |