diff --git a/eclass/texlive-common.eclass b/eclass/texlive-common.eclass index 1fe33444f1e5..3ed608cf616d 100644 --- a/eclass/texlive-common.eclass +++ b/eclass/texlive-common.eclass @@ -46,7 +46,7 @@ texlive-common_handle_config_files() { dodir /etc/texmf/$(dirname ${f}).d einfo "Moving (and symlinking) ${EPREFIX}${TEXMF_PATH}/${f} to ${EPREFIX}/etc/texmf/$(dirname ${f}).d" mv "${ED}/${TEXMF_PATH}/${f}" "${ED}/etc/texmf/$(dirname ${f}).d" || die "mv ${f} failed." - dosym /etc/texmf/$(dirname ${f}).d/$(basename ${f}) ${TEXMF_PATH}/${f} + dosym "${EPREFIX}"/etc/texmf/$(dirname ${f}).d/$(basename ${f}) ${TEXMF_PATH}/${f} done < <(find -name '*.cnf' -type f -o -name '*.cfg' -type f | sed -e "s:\./::g") }