mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
Copy a torrc.sample into the correct location, rather than overwriting
existing torrc files. svn:r11595
This commit is contained in:
parent
19967acb55
commit
8f346579da
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user