/[gentoo-x86]/eclass/office-ext.eclass
Gentoo

Diff of /eclass/office-ext.eclass

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

Revision 1.3 Revision 1.4
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 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/Attic/office-ext.eclass,v 1.3 2012/05/09 16:12:16 scarabeus Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/Attic/office-ext.eclass,v 1.4 2012/05/09 20:33:16 scarabeus Exp $
4 4
5# @ECLASS: office-ext.eclass 5# @ECLASS: office-ext.eclass
6# @AUTHOR: 6# @AUTHOR:
7# Tomáš Chvátal <scarabeus@gentoo.org> 7# Tomáš Chvátal <scarabeus@gentoo.org>
8# @MAINTAINER: 8# @MAINTAINER:
44 local i 44 local i
45 45
46 default 46 default
47 47
48 for i in ${OO_EXTENSIONS[@]}; do 48 for i in ${OO_EXTENSIONS[@]}; do
49 # Copy only if the oxt is present, sometimes they are in tarballs
50 # so we want to fail only when we do need to do the cp.
51 if [[ -f "${DISTDIR}/${i}" ]] ; then
49 debug-print "${FUNCNAME}: cp -v \"${DISTDIR}/${i}\" \"${S}\"" 52 debug-print "${FUNCNAME}: cp -v \"${DISTDIR}/${i}\" \"${S}\""
50 cp -v "${DISTDIR}/${i}" "${S}" || die 53 cp -v "${DISTDIR}/${i}" "${S}" || die
54 fi
51 done 55 done
52} 56}
53 57
54# @FUNCTION: office-ext_flush_unopkg_cache 58# @FUNCTION: office-ext_flush_unopkg_cache
55# @DESCRIPTION: 59# @DESCRIPTION:

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.20