Followup-For: Bug #764974

Hi,

a test with piuparts revealed that your package uses files from
/usr/share/doc in its maintainer scripts which is a violation of
Policy 12.3: "Packages must not require the existence of any files in
/usr/share/doc/ in order to function."
http://www.debian.org/doc/debian-policy/ch-docs.html#s12.3

These files must be moved to /usr/share/$PACKAGE and may be symlinked
from /usr/share/doc/$PACKAGE.

This piuparts test prevents the installation of (most) files into
/usr/share/doc with 'dpkg --path-exclude=...'.

>From the attached log (scroll to the bottom...):

  Selecting previously unselected package ejabberd.
  (Reading database ... 9941 files and directories currently installed.)
  Preparing to unpack .../ejabberd_14.07-2_amd64.deb ...
  Unpacking ejabberd (14.07-2) ...
  Setting up ejabberd (14.07-2) ...
  Generating SSL certificate /etc/ejabberd/ejabberd.pem...
  sed: can't read /usr/share/doc/ejabberd/examples/ejabberd.yml.example: No 
such file or directory
  dpkg: error processing package ejabberd (--configure):
   subprocess installed post-installation script returned error exit status 2
  Errors were encountered while processing:
   ejabberd


Cheers,

Andreas

Attachment: ejabberd_14.07-2.log.gz
Description: application/gzip

Reply via email to