[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#225465: debian-policy: packages must give choice to notstart at boot, via debconf



On Wed, Jan 07, 2004 at 12:21:04PM -0500, Clint Adams wrote:
> > if [ -z "$RUN_package_AT_BOOT" -a "$PPID" = "1" ] ; then exit 0 ; fi
> > 
> > Or does that miss something else?  Thinking about this issue for one of
> > my packages, so please reply if you see obvious problems.
> 
>   if [ -z "$RUN_package_AT_BOOT" ] && [ "$PPID" = "1" ] ; then exit 0 ; fi
> 
> would be a POSIX-conformant version.

Eh?  test -a isn't POSIX?  Is it SuSv3?

-- 
G. Branden Robinson                |     Reality is what refuses to go away
Debian GNU/Linux                   |     when I stop believing in it.
branden@debian.org                 |     -- Philip K. Dick
http://people.debian.org/~branden/ |

Attachment: signature.asc
Description: Digital signature


Reply to: