X-Original-To: alpine-aports@mail.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id 5796FDC5E28 for ; Fri, 2 Oct 2015 17:40:05 +0000 (UTC) Received: from mail-lb0-f177.google.com (mail-lb0-f177.google.com [209.85.217.177]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id D6926DC01C3 for ; Fri, 2 Oct 2015 17:40:04 +0000 (UTC) Received: by lbcao8 with SMTP id ao8so30343465lbc.3 for ; Fri, 02 Oct 2015 10:40:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=DhSDBSXEQI1oLa8PBxef9AKuF282m3sRTs+pLNZ1w18=; b=Vg+pcOg6fFjxPZaavK22s+4WmqiI5G99Fb/XO2ZllBbbkumKXePGj20CaeMnyAJKPX JwhJ7bFXBOfrL38BS6A4sQJKj9zmidMRTJc9Fx+50j7tM8weLiFM3RUGxawwOKl8/Fo+ oiDk+25nn2AFf0eh/2/Bo5hQn5SI99dv9kY1P9BtFHPn8MQeHTdxDB3Sd+Bo+XKpm9lc CGugZejteuIsLBljX+kQ7nhyZMnLJihkrjZNHKbutTE2YyCT3wXnDr7AewU502yId4Lz NZY4H/2fMPWJrdYsktwgui42qasV4u6YlBH4gQhS3mIS2vCaY9XfVKR1cyBX4e85XCfK wfkA== X-Received: by 10.112.205.69 with SMTP id le5mr6280247lbc.89.1443807602140; Fri, 02 Oct 2015 10:40:02 -0700 (PDT) Received: from vostro ([83.145.235.202]) by smtp.gmail.com with ESMTPSA id j11sm1712120lfe.24.2015.10.02.10.40.01 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 02 Oct 2015 10:40:01 -0700 (PDT) Sender: =?UTF-8?Q?Timo_Ter=C3=A4s?= Date: Fri, 2 Oct 2015 20:39:57 +0300 From: Timo Teras To: =?UTF-8?B?U8O2cmVu?= Tempel Cc: alpine-aports@lists.alpinelinux.org Subject: Re: [alpine-aports] [PATCH 1/2] testing/openjdk8: install profile to /etc/profile.d Message-ID: <20151002203957.374db2c1@vostro> In-Reply-To: <1443804743-4910-1-git-send-email-soeren+git@soeren-tempel.net> References: <1443804743-4910-1-git-send-email-soeren+git@soeren-tempel.net> X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.28; x86_64-alpine-linux-musl) X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: ClamAV using ClamSMTP On Fri, 2 Oct 2015 18:52:22 +0200 S=C3=B6ren Tempel wrote: > @@ -145,6 +146,13 @@ package() { > | xargs chmod go+r > =20 > pax_mark_vm "$pkgdir"/$INSTALL_BASE > + > + # install profile file in /etc/profile.d > + mkdir -p "$pkgdir"/etc/profile.d > + cat > "$pkgdir/etc/profile.d/$pkgname.sh" < +export JAVA_HOME=3D"\${JAVA_HOME:-$INSTALL_BASE/jre}" > +export PATH=3D"\$PATH:\$JAVA_HOME/bin:$INSTALL_BASE/bin" > +EOF > } > =20 > jrelib() { Is this needed for some specific reason? The idea has been that java-common provides symlinks from /usr/bin/{$java_utils} to ../lib/default-jvm/... and default-jvm is updated by java-common's trigger script when ever a java sdk is installed or removed. --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---