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: Tue, 15 Sep 2009 23:09:31 +0200	[thread overview]
Message-ID: <20090915210931.GA15026@shell> (raw)
In-Reply-To: <200909152105.44117.lists@hasnoname.de>

On Tue, Sep 15, 2009 at 09:05:44PM +0200, Roman v. Gemmeren wrote:
> hi zusammen,
> 
> wie krieg ich es hin, dass portage nach dem emergen jedesmal ein von mir 
> definiertes skript ausführt?

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                                                                                                                                                       

Allerdings wird das nach jedem Paket ausgefuehrt. Keine Ahnung, ob das so
erwuenscht ist, deswegen evtl.

> (Z.B. "cd /etc/ && git add . && git commit -a"..)
> 
> gruß,
> Roman
> -- 
> BOFH Excuse #34:
> 
> (l)user error
> 




  reply	other threads:[~2009-09-15 21:09 UTC|newest]

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

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=20090915210931.GA15026@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