==================================================================
Please DO NOT REPLY to this mail or send email to the developers
about this bug. Please follow-up to Bugzilla using this link:
http://bugs.contribs.org/show_bug.cgi?id=7443
Have you checked the Frequently Asked Questions (FAQ)?
http://wiki.contribs.org/SME_Server:Documentation:FAQ
Please also take the time to read the following useful guide:
http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
==================================================================
--- Comment #7 from Stephane de Labrusse <[email protected]> ---
(In reply to Unnilennium from comment #6)
> %preun
> # Deleting and unregistering service
> service popfile stop
> sleep 3
> rm -f /etc/rc7.d/S98popfile
> rm -f /etc/rc.d/init.d/popfile
> /sbin/e-smith/config delete popfile
> /sbin/e-smith/signal-event remoteaccess-update
>
> # Removing install directory
> rm -rf /opt/popfile
>
> %postun
i do not test in this specific case but i thing that could resolve this issue,
since i use this to avoid the desinstallation of contrib during the update
-----------------------------------------------------
%preun
# Deleting and unregistering service
if [ $1 = 0 ] ; then
service popfile stop
sleep 3
rm -f /etc/rc7.d/S98popfile
rm -f /etc/rc.d/init.d/popfile
/sbin/e-smith/config delete popfile
/sbin/e-smith/signal-event remoteaccess-update
# Removing install directory
rm -rf /opt/popfile
fi
---------------------------------------------------
$1=0 the the software is removed
$1=1 the the software is installed
$1=2 then the software is updated
correct me if i say something wrong
--
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at http://lists.contribs.org/mailman/public/contribteam/