Mandriva Linux Archives: cooker@mandrivalinux.org
Mandriva Linux: cooker@mandrivalinux.org
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
- From: Andrey Borzenkov
- Subject: [Cooker] del-service vs. preun
- Date: 28 Sep 2007 06:48:12 -0000
pkg=$1 # name of the package
num=$2 # number of packages installed
srv=$3 # name of the service
if [ $num = 0 ]; then
/sbin/service $srv stop > /dev/null 2>/dev/null || :
/sbin/chkconfig --del $srv
fi
but del-service is expected to run in preun, is not it? So number of packages
installed at this stage is actually 1 not 0. Or do I miss something?
Should I open a bug report?
Attachment:
signature.asc
Description: This is a digitally signed message part.
- Replies:
- Re: [Cooker] del-service vs. preun
- From: Todd Lyons
- Re: [Cooker] del-service vs. preun
- From: Buchan Milne
- Re: [Cooker] del-service vs. preun
- Prev by Date: Re: [Cooker] 2008.0rc2 on HP dc5700M
- Next by Date: [Cooker] RPM vs. services reordering
- Previous by thread: [Cooker] BOOT_IMAGE=
- Next by thread: Re: [Cooker] del-service vs. preun
- Index(es):
