-debhelper (4.9.5) UNRELEASED; urgency=low
+debhelper (4.9.5) unstable; urgency=low
* 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
# 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
+ pop @justdirs; # don't remove directories directly in /usr/local
my $justdirs = join("$ebs\n", @justdirs);
if (! $dh{NOSCRIPTS}) {
autoscript($package,"postinst", "postinst-usrlocal",
"/#DIRS#/ c${ebs}\n${dirs}");
autoscript($package,"prerm", "prerm-usrlocal",
- "/#JUSTDIRS#/ c${ebs}\n${justdirs}");
+ "/#JUSTDIRS#/ c${ebs}\n${justdirs}") if length $justdirs;
}
}
}