summaryrefslogtreecommitdiff
path: root/dh_fixperms
diff options
context:
space:
mode:
authorjoey <joey>2003-02-22 19:45:01 +0000
committerjoey <joey>2003-02-22 19:45:01 +0000
commit1331f43bd02122e6368c808e5b69ceefc6e37c53 (patch)
tree5655642d6a92dbe164e081386c97febd1b192f2a /dh_fixperms
parent91f8bb5fbc5a8cd9d9d64da716f11fcd2831c358 (diff)
r574: * wiggy didn't take my hint about making update-modules send warnings to
stderr, so its overly verbose stdout is now directed to /dev/null to prevent conflicts with debconf. Closes: #150804 * dh_fixperms: only skip examples directories which in a parent of usr/share/doc, not in a deeper tree. Closes: #152602 * dh_compress: stop even looking at usr/doc
Diffstat (limited to 'dh_fixperms')
-rwxr-xr-xdh_fixperms4
1 files changed, 2 insertions, 2 deletions
diff --git a/dh_fixperms b/dh_fixperms
index 39001a5..d6b0f72 100755
--- a/dh_fixperms
+++ b/dh_fixperms
@@ -59,9 +59,9 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
# Fix up premissions in usr/share/doc, setting everything to not
# executable by default, but leave examples directories alone.
- complex_doit("find $tmp/usr/share/doc $tmp/usr/doc -type f $find_options ! -regex '.*/examples/.*' -print0 2>/dev/null",
+ complex_doit("find $tmp/usr/share/doc -type f $find_options ! -regex '$tmp/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null",
"| xargs -0r chmod 644");
- complex_doit("find $tmp/usr/share/doc $tmp/usr/doc -type d $find_options -print0 2>/dev/null",
+ complex_doit("find $tmp/usr/share/doc -type d $find_options -print0 2>/dev/null",
"| xargs -0r chmod 755");
# Executable man pages are a bad thing..