diff options
author | Joe Sapp <nixphoeni@gentoo.org> | 2006-05-26 04:18:43 +0000 |
---|---|---|
committer | Joe Sapp <nixphoeni@gentoo.org> | 2006-05-26 04:18:43 +0000 |
commit | 6ef45fe51de36dbb1d4e7105eb3041ffc2702606 (patch) | |
tree | 33261c9ccdf740d784d8296d830ce7867dcb1924 /eclass/gdesklets.eclass | |
parent | KDE Meta commits for x86 stable (diff) | |
download | gentoo-2-6ef45fe51de36dbb1d4e7105eb3041ffc2702606.tar.gz gentoo-2-6ef45fe51de36dbb1d4e7105eb3041ffc2702606.tar.bz2 gentoo-2-6ef45fe51de36dbb1d4e7105eb3041ffc2702606.zip |
Cleaned up script installation
Diffstat (limited to 'eclass/gdesklets.eclass')
-rw-r--r-- | eclass/gdesklets.eclass | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/eclass/gdesklets.eclass b/eclass/gdesklets.eclass index bd0a12565c89..28b40542dec4 100644 --- a/eclass/gdesklets.eclass +++ b/eclass/gdesklets.eclass @@ -1,6 +1,6 @@ # Copyright 2004-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/eclass/gdesklets.eclass,v 1.13 2006/05/26 04:14:58 nixphoeni Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/gdesklets.eclass,v 1.14 2006/05/26 04:18:43 nixphoeni Exp $ # # Authors: Joe Sapp <nixphoeni@gentoo.org> # Mike Gardiner <obz@gentoo.org> @@ -111,13 +111,9 @@ gdesklets_src_install() { # relative to the display. for SCR in ${SCRIPTS[@]}; do - cd `dirname ${SCR}` - insinto ${DESKLET_INSDIR}/`dirname ${SCR}` - doins `basename ${SCR}` - debug-print "Installed `basename ${SCR}` into ${DESKLET_INSDIR}/`dirname ${SCR}`" - - cd ${S}/`dirname ${DSP}` + doins ${SCR} + debug-print "Installed ${SCR} into ${DESKLET_INSDIR}/`dirname ${SCR}`" done # for in ${SCRIPTS} @@ -199,7 +195,7 @@ gdesklets_src_install() { fi # if -n "${GFX}" # Install some docs if so requested - [[ -n "${DOCS}" ]] && dodoc ${DOCS} + [[ -n "${DOCS}" ]] && dodoc ${DOCS} && \ debug-print "Installed ${DOCS}" } |