summaryrefslogtreecommitdiff
path: root/dh_usrlocal
diff options
context:
space:
mode:
authorjoey <joey>2005-07-20 14:45:35 +0000
committerjoey <joey>2005-07-20 14:45:35 +0000
commitee7ee03588981e45e8b664afc02b4ad19f0027bd (patch)
tree6ed8853ee4983948e7950a94fe0175fd7019376c /dh_usrlocal
parent1b4a4bb37859d047d31e36fca733e7828377fd85 (diff)
r1777: releasing version 4.9.5
Diffstat (limited to 'dh_usrlocal')
-rwxr-xr-xdh_usrlocal4
1 files changed, 2 insertions, 2 deletions
diff --git a/dh_usrlocal b/dh_usrlocal
index edfc0aa..f13c58f 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;
}
}
}