diff Mac/BuildScript/scripts/postflight.documentation @ 68083:a036c30ab5ae

Issue #11268: Prevent Mac OS X Installer failure if Documentation package had previously been installed.
author Ned Deily <nad@acm.org>
date Mon, 21 Feb 2011 20:44:27 +0000
parents e9fb6d50459a
children 99708bb33bf7
line wrap: on
line diff
--- a/Mac/BuildScript/scripts/postflight.documentation	Mon Feb 21 19:58:37 2011 +0000
+++ b/Mac/BuildScript/scripts/postflight.documentation	Mon Feb 21 20:44:27 2011 +0000
@@ -27,6 +27,6 @@
 if [ -d "${SHARE_DIR}" ]; then
     mkdir -p "${SHARE_DOCDIR}"
     # make relative link to html doc directory
-    ln -s "${SHARE_DOCDIR_TO_FWK}/${FWK_DOCDIR_SUBPATH}" "${SHARE_DOCDIR}/html"
+    ln -fhs "${SHARE_DOCDIR_TO_FWK}/${FWK_DOCDIR_SUBPATH}" "${SHARE_DOCDIR}/html"
 fi