/[gentoo-x86]/eclass/sgml-catalog.eclass
Gentoo

Diff of /eclass/sgml-catalog.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.15 Revision 1.16
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2004 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/sgml-catalog.eclass,v 1.15 2010/05/13 21:38:11 darkside Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/sgml-catalog.eclass,v 1.16 2010/06/16 03:36:06 abcd Exp $
4# 4#
5# Author Matthew Turk <satai@gentoo.org> 5# Author Matthew Turk <satai@gentoo.org>
6 6
7inherit base 7inherit base
8 8
19} 19}
20 20
21sgml-catalog_cat_doinstall() { 21sgml-catalog_cat_doinstall() {
22 debug-print function $FUNCNAME $* 22 debug-print function $FUNCNAME $*
23 has "${EAPI:-0}" 0 1 2 && ! use prefix && EPREFIX= 23 has "${EAPI:-0}" 0 1 2 && ! use prefix && EPREFIX=
24 "${EPREFIX}"/usr/bin/install-catalog --add "${EPREFIX}/$1" "${EPREFIX}/$2" &>/dev/null 24 "${EPREFIX}"/usr/bin/install-catalog --add "${EPREFIX}$1" "${EPREFIX}$2" &>/dev/null
25} 25}
26 26
27sgml-catalog_cat_doremove() { 27sgml-catalog_cat_doremove() {
28 debug-print function $FUNCNAME $* 28 debug-print function $FUNCNAME $*
29 has "${EAPI:-0}" 0 1 2 && ! use prefix && EPREFIX= 29 has "${EAPI:-0}" 0 1 2 && ! use prefix && EPREFIX=
30 "${EPREFIX}"/usr/bin/install-catalog --remove "${EPREFIX}/$1" "${EPREFIX}/$2" &>/dev/null 30 "${EPREFIX}"/usr/bin/install-catalog --remove "${EPREFIX}$1" "${EPREFIX}$2" &>/dev/null
31} 31}
32 32
33sgml-catalog_pkg_postinst() { 33sgml-catalog_pkg_postinst() {
34 debug-print function $FUNCNAME $* 34 debug-print function $FUNCNAME $*
35 has "${EAPI:-0}" 0 1 2 && ! use prefix && EPREFIX= 35 has "${EAPI:-0}" 0 1 2 && ! use prefix && EPREFIX=

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

  ViewVC Help
Powered by ViewVC 1.1.20