/[gentoo-x86]/eclass/gdesklets.eclass
Gentoo

Diff of /eclass/gdesklets.eclass

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

Revision 1.2 Revision 1.3
1# Copyright 2004 Gentoo Foundation 1# Copyright 2004 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License, v2 or later 2# Distributed under the terms of the GNU General Public License, v2 or later
3# $Header: /var/cvsroot/gentoo-x86/eclass/gdesklets.eclass,v 1.2 2005/05/22 03:19:42 nixphoeni Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/gdesklets.eclass,v 1.3 2005/06/06 01:45:33 nixphoeni Exp $
4# 4#
5# Authors: Joe Sapp <nixphoeni@gentoo.org> 5# Authors: Joe Sapp <nixphoeni@gentoo.org>
6# Mike Gardiner <obz@gentoo.org> 6# Mike Gardiner <obz@gentoo.org>
7# 7#
8# Usage: 8# Usage:
139 # There are possibly multiple Controls packaged with the display. 139 # There are possibly multiple Controls packaged with the display.
140 # For each __init__.py found, there must be a Control associated with it. 140 # For each __init__.py found, there must be a Control associated with it.
141 for CTRL in ${CONTROL_INITS[@]}; do 141 for CTRL in ${CONTROL_INITS[@]}; do
142 142
143 cd `dirname ${CTRL}` 143 cd `dirname ${CTRL}`
144 addpredict /usr/lib/gdesklets # This absolutely must be fixed.
145 CTRL_NAME=$( ${GDESKLETS_INST_DIR}/gdesklets-control-getid `pwd` ) 144 CTRL_NAME=$( PYTHON_DONTCOMPILE=1 ${GDESKLETS_INST_DIR}/gdesklets-control-getid `pwd` )
146 einfo "Installing Control ${CTRL_NAME}" 145 einfo "Installing Control ${CTRL_NAME}"
147 # This creates the subdirectory of ${CTRL_NAME} 146 # This creates the subdirectory of ${CTRL_NAME}
148 # in the global Controls directory 147 # in the global Controls directory
149 [[ -d ${GD_INSDIR}/${CTRL_NAME} ]] || \ 148 [[ -d ${GD_INSDIR}/${CTRL_NAME} ]] || \
150 dodir ${GD_INSDIR}/${CTRL_NAME} 149 dodir ${GD_INSDIR}/${CTRL_NAME}

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

  ViewVC Help
Powered by ViewVC 1.1.20