diff options
author | Thibaut Paumard <thibaut@debian.org> | 2015-06-10 17:43:38 +0200 |
---|---|---|
committer | Niels Thykier <niels@thykier.net> | 2015-06-10 17:43:38 +0200 |
commit | 13c0674f6e7c5d8a79c42cc058ea1b79aac067eb (patch) | |
tree | e825bcd492e42c66de39cf61915bc0ead011c355 /dh_usrlocal | |
parent | 5c3239b0f4f987a58d8899731ddee9e1d9babb0f (diff) | |
download | debhelper-13c0674f6e7c5d8a79c42cc058ea1b79aac067eb.tar.gz |
dh_usrlocal: Remove usr/local dirs in reversed order
Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'dh_usrlocal')
-rwxr-xr-x | dh_usrlocal | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dh_usrlocal b/dh_usrlocal index 193d70d9..b21d11f3 100755 --- a/dh_usrlocal +++ b/dh_usrlocal @@ -103,7 +103,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) { # is parsed by the shell in double-quotes my $dirs = join("$ebs\n", sort @dirs); pop @justdirs; # don't remove directories directly in /usr/local - my $justdirs = join("$ebs\n", sort @justdirs); + my $justdirs = join("$ebs\n", reverse sort @justdirs); if (! $dh{NOSCRIPTS}) { autoscript($package,"postinst", "postinst-usrlocal", "/#DIRS#/ c${ebs}\n${dirs}"); |