Subject: removing directories with modified configuration files
To: None <>
From: Klaus Heinz <>
List: tech-pkg
Date: 09/09/2002 21:54:23

if I install a package which creates a configuration directory, add an
_additional_ file in this directory and then remove the package I get

  pkg_delete: unable to completely remove directory '/usr/pkg/etc/spamassassin'
  pkg_delete: couldn't entirely delete package `spamassassin-2.41'

Other packages employ a method to avoid such messages:

  @unexec ${RMDIR} %D/etc/spamassassin 2>/dev/null || true

Is this the recommended way? Or should the warning above be visible to
the end user?