diff options
Diffstat (limited to 'dh_usrlocal')
-rwxr-xr-x | dh_usrlocal | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dh_usrlocal b/dh_usrlocal index edfc0aa1..f13c58fa 100755 --- a/dh_usrlocal +++ b/dh_usrlocal @@ -99,13 +99,13 @@ foreach my $package (@{$dh{DOPACKAGES}}) { # 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; } } } |