Gentoo Archives: gentoo-dev

From: Michael Orlitzky <mjo@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Of death and prerm
Date: Wed, 30 Aug 2017 13:04:37
Message-Id: 6a5d1a8d-43c1-507d-8041-1891ed68e522@gentoo.org
In Reply to: Re: [gentoo-dev] Of death and prerm by Alexis Ballier
1 On 08/30/2017 04:04 AM, Alexis Ballier wrote:
2 >
3 > Is there any point in dying in any phase after (or during)
4 > pkg_postinst ?
5 > files are already live by then; what would this achieve ?
6 >
7
8 I was hoping that die() called in pkg_prerm would have a similar effect
9 as pressing Ctrl-C when portage is doing it's countdown thing before you
10 "emerge -C" package. Basically, to stop what it's doing, and to leave
11 the package installed. If the uninstall was part of an upgrade, the
12 corresponding installation (of the new version) would also fail.