X-Git-Url: http://git.jankratochvil.net/?p=captive.git;a=blobdiff_plain;f=captive.spec.in;h=23f83c71bdf07e855ada99c1478a8c7a10e7c8c8;hp=d470b52f280b9dd7e719847f2a4ef92e4c5feba5;hb=b78f9c89a5c69c17f99a614f10238d10c3c29627;hpb=7e3910e659f4cbf2aa2c9e1830c3a55198aa73a6 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