/usr/local, but only subdirectories thereof, in accordance with policy.
Closes: #319181
* dh_install: in v5 mode, error out if there are wildcards in the file
list and the wildcards expand to nothing. Done only for v5 as this is a
behavior change. Closes: #249815
* dh_install: in v5 mode, error out if there are wildcards in the file
list and the wildcards expand to nothing. Done only for v5 as this is a
behavior change. Closes: #249815
+ * dh_usrlocal: generate prerm scripts that do not remove distroties in
+ /usr/local, but only subdirectories thereof, in accordance with policy.
+ Closes: #319181
- -- Joey Hess <joeyh@debian.org> Tue, 19 Jul 2005 13:48:52 -0400
+ -- Joey Hess <joeyh@debian.org> Wed, 20 Jul 2005 10:08:05 -0400
debhelper (4.9.4) unstable; urgency=low
debhelper (4.9.4) unstable; urgency=low
# This constructs the body of a 'sed' c\ expression which
# is parsed by the shell in double-quotes
my $dirs = join("$ebs\n", @dirs);
# This constructs the body of a 'sed' c\ expression which
# is parsed by the shell in double-quotes
my $dirs = join("$ebs\n", @dirs);
+ pop @justdirs; # don't remove directories in /usr/local
my $justdirs = join("$ebs\n", @justdirs);
if (! $dh{NOSCRIPTS}) {
autoscript($package,"postinst", "postinst-usrlocal",
my $justdirs = join("$ebs\n", @justdirs);
if (! $dh{NOSCRIPTS}) {
autoscript($package,"postinst", "postinst-usrlocal",