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

Re: Bug in cdd-update-menus

On Tue, 20 Apr 2004, Cosimo Alfarano wrote:

> On Tue, Apr 20, 2004 at 09:49:59PM +0200, Andreas Tille wrote:
> > W: med-bio: possible-bashism-in-maintainer-script postinst:6 'source /etc/cdd/cdd.conf'
> That's true, postinst in this case should be a bash script, is it a
> problem? It shouldn't, bash is Essential: yes IIRC
No, in fact it is not, but has to be declared - I was to tired yesterday ...


10.4. Scripts

     ... If a script requires non-POSIX features from the
     shell interpreter, the appropriate shell must be specified in the
     first line of the script (e.g., `#!/bin/bash') and the package must
     depend on the package providing the shell (unless the shell package is
     marked "Essential", as in the case of `bash').

> Anything in cdd-common is a bashism, to be POSIX compliant is too
> restrictive.
Yes, this is OK.

Kind regards


Reply to: