diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2007-09-18 21:52:53 +0000 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2007-09-18 21:52:53 +0000 |
commit | e9d81250a01fa03bfe01e20cbaf9e50a56cf60dc (patch) | |
tree | 0bd7aae578797ce9028eefabc2321bfd57dea830 /net-misc/nxserver-freeedition | |
parent | Remove pic useflag for bug #192884 (diff) | |
download | gentoo-2-e9d81250a01fa03bfe01e20cbaf9e50a56cf60dc.tar.gz gentoo-2-e9d81250a01fa03bfe01e20cbaf9e50a56cf60dc.tar.bz2 gentoo-2-e9d81250a01fa03bfe01e20cbaf9e50a56cf60dc.zip |
Fix variables quoting, clean up install part
(Portage version: 2.1.3.9)
Diffstat (limited to 'net-misc/nxserver-freeedition')
-rw-r--r-- | net-misc/nxserver-freeedition/ChangeLog | 7 | ||||
-rw-r--r-- | net-misc/nxserver-freeedition/nxserver-freeedition-3.0.0-r3.ebuild | 29 |
2 files changed, 18 insertions, 18 deletions
diff --git a/net-misc/nxserver-freeedition/ChangeLog b/net-misc/nxserver-freeedition/ChangeLog index 88cd6a6595c4..6fd47feb8bd7 100644 --- a/net-misc/nxserver-freeedition/ChangeLog +++ b/net-misc/nxserver-freeedition/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-misc/nxserver-freeedition # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/nxserver-freeedition/ChangeLog,v 1.13 2007/09/18 21:01:47 voyageur Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/nxserver-freeedition/ChangeLog,v 1.14 2007/09/18 21:52:53 voyageur Exp $ + + 18 Sep 2007; Bernard Cafarelli <voyageur@gentoo.org> + nxserver-freeedition-3.0.0-r3.ebuild: + Fix variables quoting, thanks opfer + Also clean up the install section *nxserver-freeedition-3.0.0-r3 (18 Sep 2007) diff --git a/net-misc/nxserver-freeedition/nxserver-freeedition-3.0.0-r3.ebuild b/net-misc/nxserver-freeedition/nxserver-freeedition-3.0.0-r3.ebuild index 27741e3204db..fa44f4a59596 100644 --- a/net-misc/nxserver-freeedition/nxserver-freeedition-3.0.0-r3.ebuild +++ b/net-misc/nxserver-freeedition/nxserver-freeedition-3.0.0-r3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/nxserver-freeedition/nxserver-freeedition-3.0.0-r3.ebuild,v 1.1 2007/09/18 21:01:47 voyageur Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/nxserver-freeedition/nxserver-freeedition-3.0.0-r3.ebuild,v 1.2 2007/09/18 21:52:53 voyageur Exp $ inherit eutils @@ -33,8 +33,8 @@ pkg_preinst() src_unpack() { unpack ${A} - cd ${S} - epatch ${FILESDIR}/nxserver-3.0.0-r3-setup.patch + cd "${S}" + epatch "${FILESDIR}"/nxserver-3.0.0-r3-setup.patch } src_install() @@ -43,11 +43,9 @@ src_install() # with libraries installed for FreeNX into /usr/NX - for x in nxserver ; do - dobin bin/$x - done + dobin bin/nxserver - dodir /usr/NX/etc + dodir /usr/NX/etc/keys insinto /usr/NX/etc doins etc/administrators.db.sample doins etc/guests.db.sample @@ -58,15 +56,12 @@ src_install() newins etc/server-debian.cfg.sample server-gentoo.cfg.sample - cp -R etc/keys ${D}/usr/NX/etc || die + insinto /usr/NX + doins -r home lib scripts + cp -R share "${D}"/usr/NX || die "Unable to install share folder" + cp -R var "${D}"/usr/NX || die "Unable to install var folder" - cp -R home ${D}/usr/NX || die - cp -R lib ${D}/usr/NX || die - cp -R scripts ${D}/usr/NX || die - cp -R share ${D}/usr/NX || die - cp -R var ${D}/usr/NX || die - - newinitd ${FILESDIR}/nxserver-2.1.0-init nxserver + newinitd "${FILESDIR}"/nxserver-2.1.0-init nxserver } pkg_postinst () @@ -77,10 +72,10 @@ pkg_postinst () # only run install when no configuration file is found if [ -f /usr/NX/etc/server.cfg ]; then einfo "Running NoMachine's update script" - ${ROOT}/usr/NX/scripts/setup/nxserver --update + "${ROOT}"/usr/NX/scripts/setup/nxserver --update else einfo "Running NoMachine's setup script" - ${ROOT}/usr/NX/scripts/setup/nxserver --install + "${ROOT}"/usr/NX/scripts/setup/nxserver --install fi elog "Remember to add nxserver to your default runlevel" |