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

Diff of /eclass/gdesklets.eclass

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

Revision 1.17 Revision 1.18
1# Copyright 2004-2006 Gentoo Foundation 1# Copyright 2004-2006 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.17 2009/04/28 00:57:18 nixphoeni Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/gdesklets.eclass,v 1.18 2009/05/13 02:11:24 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:
102 DSP=`basename ${DSP}` 102 DSP=`basename ${DSP}`
103 insinto "${DESKLET_INSDIR}" 103 insinto "${DESKLET_INSDIR}"
104 doins "${DSP}" 104 doins "${DSP}"
105 105
106 SCRIPTS=$(grep "script .*uri" ${DSP} | \ 106 SCRIPTS=$(grep "script .*uri" ${DSP} | \
107 sed -e 's:.*<script .*uri=": :g' -e 's:"/>.*: :g') 107 sed -e "s:.*<script\b.*\buri=[\"']: :g" -e "s:[\"'].*/>.*: :g")
108 108
109 # For each one of the scripts, change to its 109 # For each one of the scripts, change to its
110 # base directory and change the install location 110 # base directory and change the install location
111 # so it gets installed at the proper place 111 # so it gets installed at the proper place
112 # relative to the display. 112 # relative to the display.

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

  ViewVC Help
Powered by ViewVC 1.1.20