Package: latex2html
Version: 2002-2-1-8
Severity: minor

"command -v" is not POSIX.  The postinst and prerm scripts use it and
have #!/bin/sh at the top, so they violate policy 10.4.

Possible solutions:

* Using #!/bin/bash eliminates the 10.4 violation.  However, there
  remains the additional problem that "command -v" doesn't really work
  as a check whether or not a command is runnable.  The string that it
  outputs is not necessarily the pathname of an executable file.
  (See #291197.)
* Use the which program from debianutils.
* Use the trydo() function I posted to #291026.
* Use the findcommand() function posted by Tollef Fog Heen in #218530.
* Assume that install-docs is at /usr/sbin/install-docs and just use
  test -x /usr/sbin/install-docs


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing'), (50, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.9
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages latex2html depends on:
ii  gs                            8.01-5     Transitional package
ii  gs-esp [gs]                   7.07.1-9   The Ghostscript PostScript interpr
ii  gs-gpl [gs]                   8.01-5     The GPL Ghostscript PostScript int
ii  netpbm                        2:10.0-8   Graphics conversion tools
ii  perl                          5.8.4-5    Larry Wall's Practical Extraction 
ii  tetex-bin                     2.0.2-26   The teTeX binary files
ii  tetex-extra                   2.0.2c-3   Additional library files of teTeX

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to