Mandriva Linux Archives: cooker@mandrivalinux.org
Mandriva Linux: cooker@mandrivalinux.org
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
- From: Gustavo De Nardin
- Subject: Re: [Cooker] del-service vs. preun
- Date: 30 Sep 2007 15:38:10 -0000
* Todd Lyons <todd@mrball.net> [2007-09-29 15:33 -0700]:
> Andrey Borzenkov wanted us to know:
>
> >if [ $num = 0 ]; then
>
> Is that a typo when you pasted?
> [ $num = 0 ] will always be true. It should be
> [ $num == 0 ]
No. For '[' (and 'test'), '=' it is:
$ help test | grep -m1 -A1 -w =
STRING1 = STRING2
True if the strings are equal.
- References:
- [Cooker] del-service vs. preun
- From: Andrey Borzenkov
- Re: [Cooker] del-service vs. preun
- From: Todd Lyons
- [Cooker] del-service vs. preun
- Prev by Date: [Cooker] Re: [RPM] cooker contrib/release smart-0.51-17mdv2008.0
- Next by Date: Re: [Cooker] Re: [RPM] cooker main/release x11-server-1.3.0.0-23mdv2008.0
- Previous by thread: [Cooker] Re: del-service vs. preun
- Next by thread: [Cooker] RPM vs. services reordering
- Index(es):
