summaryrefslogtreecommitdiff
path: root/dh_installdocs
diff options
context:
space:
mode:
authorjoey <joey>2000-01-17 05:25:36 +0000
committerjoey <joey>2000-01-17 05:25:36 +0000
commitf06ac32c0e70741472b5b2f09dd1c011c3f53441 (patch)
treeb7aa75e801824d65de28a9bfb118659c6f4551de /dh_installdocs
parent23cee323324f4bb3fc0d0033ef5bd0e4af62dc85 (diff)
r333: um.
Diffstat (limited to 'dh_installdocs')
-rwxr-xr-xdh_installdocs5
1 files changed, 2 insertions, 3 deletions
diff --git a/dh_installdocs b/dh_installdocs
index 9e43ea8d..86b6f200 100755
--- a/dh_installdocs
+++ b/dh_installdocs
@@ -13,9 +13,8 @@ foreach $PACKAGE (@{$dh{DOPACKAGES}}) {
$TMP=tmpdir($PACKAGE);
$file=pkgfile($PACKAGE,"docs");
- # If this is a dangling symlink, leave it. The maintainer
- # better know what they're doing.
- if ( ! -d "$TMP/usr/share/doc/$PACKAGE" &&
+ # If this is a symlink, leave it alone.
+ if ( ! -d "$TMP/usr/share/doc/$PACKAGE" &&
! -l "$TMP/usr/share/doc/$PACKAGE") {
doit("install","-g","root","-o","root","-d","$TMP/usr/share/doc/$PACKAGE");
}