Rev 26372 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
#! /bin/shUSER_R_HOME="${1}/.R"; shiftrm -rf "${USER_R_HOME}"for d in "${USER_R_HOME}" "${USER_R_HOME}/doc" \"${USER_R_HOME}/doc/html" "${USER_R_HOME}/doc/html/search" \"${USER_R_HOME}/library"; do \"${R_HOME}"/bin/mkinstalldirs "${d}" >/dev/nulldonefor f in AUTHORS COPYING THANKS; doif test -f "${R_HOME}/${f}"; then${LN_S} "${R_HOME}/${f}" "${USER_R_HOME}/${f}"fidoneif test -d "${R_HOME}/doc/manual"; then${LN_S} "${R_HOME}/doc/manual" "${USER_R_HOME}/doc/manual"fifor f in "${R_HOME}"/doc/html/*; doif test -f "${f}"; then${LN_S} "${f}" "${USER_R_HOME}/doc/html"fidone## we are going to recreate this in R coderm -f "${USER_R_HOME}/doc/html/packages.html"## this needs to be copied for OS Xrm -f "${USER_R_HOME}/doc/html/index.html"cp "${R_HOME}/doc/html/index.html" "${USER_R_HOME}/doc/html"## class files must be copied for Mozilla to workfor f in "${R_HOME}"/doc/html/search/*.class; doif test -f "${f}"; thencp "${f}" "${USER_R_HOME}/doc/html/search"fidonefor f in "${R_HOME}"/doc/html/search/*.html; doif test -f "${f}"; then${LN_S} "${f}" "${USER_R_HOME}/doc/html/search"fidone## we are going to recreate this in R coderm -f "${USER_R_HOME}/doc/html/search/index.txt"${LN_S} "${R_HOME}/doc/html/R.css" "${USER_R_HOME}/library"### Local Variables: ***### mode: sh ***### sh-indentation: 2 ***### End: ***