diff options
author | joey <joey> | 2000-01-17 05:25:36 +0000 |
---|---|---|
committer | joey <joey> | 2000-01-17 05:25:36 +0000 |
commit | f06ac32c0e70741472b5b2f09dd1c011c3f53441 (patch) | |
tree | b7aa75e801824d65de28a9bfb118659c6f4551de /dh_installdocs | |
parent | 23cee323324f4bb3fc0d0033ef5bd0e4af62dc85 (diff) |
r333: um.
Diffstat (limited to 'dh_installdocs')
-rwxr-xr-x | dh_installdocs | 5 |
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"); } |