[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r11618: Update tor.spec.in to correctly install torrc.sample. Fix su (tor/trunk)



Author: phobos
Date: 2007-09-24 19:18:47 -0400 (Mon, 24 Sep 2007)
New Revision: 11618

Modified:
   tor/trunk/tor.spec.in
Log:
Update tor.spec.in to correctly install torrc.sample.  Fix suggested by
devilproxytor.


Modified: tor/trunk/tor.spec.in
===================================================================
--- tor/trunk/tor.spec.in	2007-09-24 22:50:22 UTC (rev 11617)
+++ tor/trunk/tor.spec.in	2007-09-24 23:18:47 UTC (rev 11618)
@@ -191,8 +191,7 @@
 %__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.sample
+%__install -p -m 644 src/config/torrc.sample %${RPM_BUILD_ROOT}%{_sysconfdir}/%{name}/torrc.sample
 
 # Install the logrotate control file.
 %__mkdir_p -m 755 ${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d