mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Improve de-installation a little
svn:r2878
This commit is contained in:
+6
-1
@@ -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 @@ exit 0
|
||||
|
||||
%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
|
||||
|
||||
Reference in New Issue
Block a user