Gentoo Archives: gentoo-user

From: Peter Humphrey <peter@××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Package specific post-emerge hooks?
Date: Wed, 13 Jun 2018 09:28:38
Message-Id: 3436531.rtmQmvD60j@peak
In Reply to: [gentoo-user] Re: Package specific post-emerge hooks? by Ian Zimmerman
1 On Tuesday, 12 June 2018 22:36:36 BST Ian Zimmerman wrote:
2 > On 2018-06-12 22:47, Christoph Böhmwalder wrote:
3 > > I was wondering if there was a way to run a shell script anytime a
4 > > specific
5 > > package is updated.
6 >
7 > Create a /etc/portage/env/${CATEGORY}/${PACKAGE} file. It should be in
8 > shell script syntax and contain a definition of the shell function
9 > post_pkg_postinst.
10
11 The easiest way is to add the /path/filename to CONFIG_PROTECT in make.conf.
12
13 --
14 Regards,
15 Peter.