[or-cvs] r11595: Copy a torrc.sample into the correct location, rather than o (tor/trunk)
phobos at seul.org
phobos at seul.org
Sun Sep 23 15:53:43 UTC 2007
Author: phobos
Date: 2007-09-23 11:53:43 -0400 (Sun, 23 Sep 2007)
New Revision: 11595
Modified:
tor/trunk/tor.spec.in
Log:
Copy a torrc.sample into the correct location, rather than overwriting
existing torrc files.
Modified: tor/trunk/tor.spec.in
===================================================================
--- tor/trunk/tor.spec.in 2007-09-23 15:50:17 UTC (rev 11594)
+++ tor/trunk/tor.spec.in 2007-09-23 15:53:43 UTC (rev 11595)
@@ -191,7 +191,8 @@
%__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
More information about the tor-commits
mailing list