[debhelper-devel] Bug#894549: debhelper: dh_usrlocal may remove a direct subdirectory of /usr/local

Nicolas Boulenguez nicolas at debian.org
Sun Apr 1 02:20:49 UTC 2018


Package: debhelper
Version: 11.1.6
Severity: minor
Tags: patch

Hello.

The attached script shows that dh_usrlocal generates a prerm script
removing a direct subdirectory of /usr/local.
As I understand the policy, it should not.

The fix is included.
It also suggests some minor related changes, which do not seem to change the behaviour.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dh_usrlocal-topdirs.diff
Type: text/x-diff
Size: 1349 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debhelper-devel/attachments/20180401/db8716a7/attachment-0003.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dh_usrlocal-topdirs.sh
Type: application/x-sh
Size: 1375 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debhelper-devel/attachments/20180401/db8716a7/attachment-0003.sh>


More information about the debhelper-devel mailing list