public inbox for gentoo-user-de@lists.gentoo.org
 help / color / mirror / Atom feed
From: Tobias Hommel <gentoo@zum-news-lesen.genoetigt.de>
To: gentoo-user-de@lists.gentoo.org
Subject: Re: [gentoo-user-de] Selbst definiertes Post-Install Script?
Date: Fri, 18 Sep 2009 12:09:56 +0200	[thread overview]
Message-ID: <20090918100956.GA12562@shell> (raw)
In-Reply-To: <200909181056.14860.lists@hasnoname.de>

On Fri, Sep 18, 2009 at 10:56:14AM +0200, Roman wrote:
> Hi,
> 
> Am Tuesday 15 September 2009 23:09:31 schrieb Tobias Hommel:
> > Evtl. kann man die /etc/portage/bashrc benutzen. Um in bestimmten Phasen
> > eines ebuilds etwas auszufuehren, kann man z.B. folgendes eintragen:
> >
> > if [ "$EBUILD_PHASE" == "postinst" ]; then
> > 	echo =========================
> > 	echo === paket installiert ===
> > 	echo =========================
> > fi
> vielen nochmal es funktioniert nun so wie ich es gerne hätte. Weisst du 
> zufällig, ob/wo es nähere Infos zu den vorhandenen Variablen gibt, konnte da 
> bisher nur die grundlegenden Docs finden..?
> 

Weiss ich nicht wirklich was zu. Auf Anhieb wuerd ich sagen:
a) google "/etc/portage/bashrc"
b) http://devmanual.gentoo.org/
c) set, env oder sowas in der bashrc aufrufen, unabhaengig von der ebuildphase,
   dann ein beliebiges paket emergen(re-emergen) und schaun, was er anzeigt

> 
> Mit freundlichem Gruß,
> Roman
> 
> -- 
> My father was a God-fearing man, but he never missed a copy of the
> New York Times, either.
> 		-- E.B. White
> 

-- 
Trouble with Windows? -- Reboot!
Trouble with Linux? -- Be root!



  reply	other threads:[~2009-09-18 10:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-18  8:56 [gentoo-user-de] Selbst definiertes Post-Install Script? Roman
2009-09-18 10:09 ` Tobias Hommel [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-09-15 19:05 Roman v. Gemmeren
2009-09-15 21:09 ` Tobias Hommel
2009-09-16 16:20 ` Dirk Heinrichs
2009-09-16 17:47   ` Tobias Hommel
2009-09-16 18:11     ` Dirk Heinrichs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090918100956.GA12562@shell \
    --to=gentoo@zum-news-lesen.genoetigt.de \
    --cc=gentoo-user-de@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox