[or-cvs] Improve de-installation a little
Nick Mathewson
nickm at seul.org
Sun Nov 14 23:47:44 UTC 2004
Update of /home/or/cvsroot/tor
In directory moria.mit.edu:/tmp/cvs-serv24719
Modified Files:
tor.spec.in
Log Message:
Improve de-installation a little
Index: tor.spec.in
===================================================================
RCS file: /home/or/cvsroot/tor/tor.spec.in,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- tor.spec.in 14 Nov 2004 23:18:20 -0000 1.4
+++ tor.spec.in 14 Nov 2004 23:47:42 -0000 1.5
@@ -6,7 +6,7 @@
# This should be incremented whenever the spec file changes, but
# can drop back to zero at a new Tor version
-%define specver 2
+%define specver 3
## Things users may want to change
#
@@ -235,6 +235,11 @@
%preun
/sbin/chkconfig --del %{name}
+%__rm -f ${_localstatedir}/lib/%{name}/cached-directory
+%__rm -f ${_localstatedir}/lib/%{name}/bw_accounting
+%__rm -f ${_localstatedir}/lib/%{name}/control_auth_cookie
+%__rm -f ${_localstatedir}/lib/%{name}/router.desc
+%__rm -f ${_localstatedir}/lib/%{name}/fingerprint
exit 0
%files
More information about the tor-commits
mailing list