diff options
author | Alexis Ballier <aballier@gentoo.org> | 2010-10-24 16:26:36 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2010-10-24 16:26:36 +0000 |
commit | 28bb08cc340bc083f31d2b4b4ccbaa4ee6c91ca9 (patch) | |
tree | d27561436f31b7e79506ac100df3cc053e1b1972 /eclass/texlive-module.eclass | |
parent | Add etexmf-update to call texmf-update from ebuilds so that some duplicated c... (diff) | |
download | historical-28bb08cc340bc083f31d2b4b4ccbaa4ee6c91ca9.tar.gz historical-28bb08cc340bc083f31d2b4b4ccbaa4ee6c91ca9.tar.bz2 historical-28bb08cc340bc083f31d2b4b4ccbaa4ee6c91ca9.zip |
Use etexmf-update
Diffstat (limited to 'eclass/texlive-module.eclass')
-rw-r--r-- | eclass/texlive-module.eclass | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/eclass/texlive-module.eclass b/eclass/texlive-module.eclass index 266907bc201f..702be47d6cf2 100644 --- a/eclass/texlive-module.eclass +++ b/eclass/texlive-module.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.54 2010/10/24 00:41:41 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.55 2010/10/24 16:26:36 aballier Exp $ # @ECLASS: texlive-module.eclass # @MAINTAINER: @@ -356,13 +356,7 @@ texlive-module_src_install() { # installed texmf trees. texlive-module_pkg_postinst() { - if [ "$ROOT" = "/" ] && [ -x /usr/sbin/texmf-update ] ; then - /usr/sbin/texmf-update - else - ewarn "Cannot run texmf-update for some reason." - ewarn "Your texmf tree might be inconsistent with your configuration" - ewarn "Please try to figure what has happened" - fi + etexmf-update } # @FUNCTION: texlive-module_pkg_postrm @@ -372,13 +366,7 @@ texlive-module_pkg_postinst() { # installed texmf trees. texlive-module_pkg_postrm() { - if [ "$ROOT" = "/" ] && [ -x /usr/sbin/texmf-update ] ; then - /usr/sbin/texmf-update - else - ewarn "Cannot run texmf-update for some reason." - ewarn "Your texmf tree might be inconsistent with your configuration" - ewarn "Please try to figure what has happened" - fi + etexmf-update } if [ "${PV#2008}" != "${PV}" ]; then |