leaves it alone, assumming that the maintainer knows what they're doing
and is probably linking to the doc dir of another package.
(Closes: #46183)
+debhelper (2.0.59) unstable; urgency=low
+
+ * dh_installdocs: if $TMP/usr/share/doc/$PACKAGE is a broken symlink,
+ leaves it alone, assumming that the maintainer knows what they're doing
+ and is probably linking to the doc dir of another package.
+ (Closes: #46183)
+
+ -- Joey Hess <joeyh@master.debian.org> Mon, 4 Oct 1999 16:27:28 -0700
+
debhelper (2.0.58) unstable; urgency=low
* Dh_Lib.pm: fixed bug in xargs() that made boundry words be skipped.
$TMP=tmpdir($PACKAGE);
$file=pkgfile($PACKAGE,"docs");
- if ( ! -d "$TMP/usr/share/doc/$PACKAGE") {
+ # If this is a dangling symlink, leave it. The maintainer
+ # better know what they're doing.
+ if ( ! -d "$TMP/usr/share/doc/$PACKAGE" &&
+ ! -l "$TMP/usr/share/doc/$PACKAGE") {
doit("install","-d","$TMP/usr/share/doc/$PACKAGE");
}