The R Project SVN R

Rev

Rev 34334 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 34334 Rev 34336
Line 987... Line 987...
987
  do_cleanup_tmpdir
987
  do_cleanup_tmpdir
988
 
988
 
989
  if test "${is_first_package}" = no; then
989
  if test "${is_first_package}" = no; then
990
    ## Only need to do this in case we successfully installed at least
990
    ## Only need to do this in case we successfully installed at least
991
    ## *one* package ... well not so sure for bundles.
991
    ## *one* package ... well not so sure for bundles.
992
    cp "${R_HOME}/doc/html/R.css" "${lib}"
992
    cp "${R_DOC_DIR}/html/R.css" "${lib}"
993
    chmod 644 "${lib}/R.css"
993
    chmod 644 "${lib}/R.css"
994
    if test "${lib}" = "`cd \"${R_HOME}/library\" && ${GETWD}`"; then
994
    if test "${lib}" = "`cd \"${R_HOME}/library\" && ${GETWD}`"; then
995
      cat "${R_HOME}"/library/*/CONTENTS \
995
      cat "${R_HOME}"/library/*/CONTENTS \
996
        > "${R_HOME}"/doc/html/search/index.txt
996
        > "${R_DOC_DIR}"/html/search/index.txt
997
      if ${build_help} && test "${NO_PERL5}" = "false"; then
997
      if ${build_help} && test "${NO_PERL5}" = "false"; then
998
        echo "tools:::unix.packages.html(.Library)" | \
998
        echo "tools:::unix.packages.html(.Library, docdir=\"${R_DOC_DIR}\")" | \
999
          R_DEFAULT_PACKAGES=NULL LC_ALL=C "${R_EXE}" --vanilla >/dev/null
999
          R_DEFAULT_PACKAGES=NULL LC_ALL=C "${R_EXE}" --vanilla >/dev/null
1000
      fi
1000
      fi
1001
    fi
1001
    fi
1002
  fi
1002
  fi
1003
  if ${lock}; then
1003
  if ${lock}; then