From b78f9c89a5c69c17f99a614f10238d10c3c29627 Mon Sep 17 00:00:00 2001 From: lace <> Date: Thu, 22 Dec 2005 14:25:27 +0000 Subject: [PATCH] Fixed uninstallation unregistration: %postun -> %preun --- captive.spec.in | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/captive.spec.in b/captive.spec.in index d470b52..23f83c7 100644 --- a/captive.spec.in +++ b/captive.spec.in @@ -225,6 +225,14 @@ touch %{_var}/lock/subsys/@PACKAGE@ %preun %if ! %{static} +%preun fuse +%endif +/usr/lib/lsb/remove_initd @PACKAGE@ 2>/dev/null || \ + /sbin/chkconfig --del @PACKAGE@ +%{_initrddir}/@PACKAGE@ stop +rm -f %{_var}/lock/subsys/@PACKAGE@ + +%if ! %{static} %preun install %endif %{_sbindir}/captive-install-fstab --remove @@ -235,14 +243,6 @@ touch %{_var}/lock/subsys/@PACKAGE@ rm -rf %{_var}/lib/@PACKAGE@/s-* rm -rf %{_var}/lib/@PACKAGE@/tmp/* -%if ! %{static} -%postun fuse -%endif -/usr/lib/lsb/remove_initd @PACKAGE@ 2>/dev/null || \ - /sbin/chkconfig --del @PACKAGE@ -%{_initrddir}/@PACKAGE@ stop -rm -f %{_var}/lock/subsys/@PACKAGE@ - %files %defattr(-,root,root) %doc README NEWS AUTHORS THANKS TODO -- 1.8.3.1