Bug#393224: tomcat5.5: maintainer script problems

Andreas Beckmann debian at abeckmann.de
Sun Oct 15 17:54:36 CEST 2006


Package: tomcat5.5
Version: 5.5.17-2
Severity: normal

Hi,

on purge the tomcat5.5 postrm script tries to delete the user 'tomcat55'
twice, according to the comments the second userdel invocation should
probably remove 'tomcat5'.

Lintian throws a few errors and warnings:

E: tomcat5.5-webapps: maintainer-script-calls-init-script-directly postinst:12
E: tomcat5.5-webapps: maintainer-script-calls-init-script-directly prerm:15
E: tomcat5.5-admin: maintainer-script-calls-init-script-directly postinst:12
E: tomcat5.5-admin: maintainer-script-calls-init-script-directly prerm:15
I: tomcat5.5: possible-non-posix-code-in-maintainer-script postrm:27 '[ -n "$(dpkg -l tomcat5 | grep pn)" -o '
W: tomcat5.5: init.d-script-missing-lsb-section /etc/init.d/tomcat5.5

Shouldn't the grep's in tomcat5.5.postrm grep at the beginning of the
line?

Consistent indentation would be nice (tab/space combinations with
different tabstop width definitions are used in one file ...)


Andreas



-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (300, 'unstable'), (30, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-k7
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)




More information about the pkg-java-maintainers mailing list