16a17,23 > case "${EAPI:-0}" in > 0|1|2) > die "EAPI='${EAPI}' is not supported anymore" > ;; > *) > ;; > esac 31,32c38,39 < [ -d "${D}${TEXMF_PATH}" ] || return < cd "${D}${TEXMF_PATH}" --- > [ -d "${ED}${TEXMF_PATH}" ] || return > cd "${ED}${TEXMF_PATH}" 38,39c45,46 < einfo "Moving (and symlinking) ${TEXMF_PATH}/${f} to /etc/texmf/$(dirname ${f}).d" < mv "${D}/${TEXMF_PATH}/${f}" "${D}/etc/texmf/$(dirname ${f}).d" || die "mv ${f} failed." --- > 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." 81c88 < elif [ -e "${D}/usr/bin/$1" ]; --- > elif [ -e "${ED}/usr/bin/$1" ]; 122c129 < [ -x "${D}/usr/share/${1}" ] || die "Trying to install a non existing or non executable symlink to /usr/bin: ${1}" --- > [ -x "${ED}/usr/share/${1}" ] || die "Trying to install a non existing or non executable symlink to /usr/bin: ${1}" 136,137c143,144 < if [ "$ROOT" = "/" ] && [ -x /usr/sbin/texmf-update ] ; then < /usr/sbin/texmf-update --- > if [ "$ROOT" = "/" ] && [ -x "${EPREFIX}"/usr/sbin/texmf-update ] ; then > "${EPREFIX}"/usr/sbin/texmf-update 154c161 < if [ "$ROOT" = "/" ] && [ -x /usr/bin/fmtutil-sys ] ; then --- > if [ "$ROOT" = "/" ] && [ -x "${EPREFIX}"/usr/bin/fmtutil-sys ] ; then 156c163 < /usr/bin/fmtutil-sys --all &> /dev/null --- > "${EPREFIX}"/usr/bin/fmtutil-sys --all &> /dev/null