Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Portage irritant
Date: Sun, 23 Jun 2019 09:18:23
Message-Id: 20190623101808.46bbf0ac@digimed.co.uk
In Reply to: Re: [gentoo-user] Portage irritant by Philip Webb
1 On Sat, 22 Jun 2019 19:29:40 -0400, Philip Webb wrote:
2
3 > >> root:523 ~> etc-update
4 > >> Scanning Configuration files...
5 > >> Automerging trivial changes in: /etc/nanorc
6 > >> Exiting: Nothing left to do; exiting. :)
7 > >> Whyever doesn't Portage make that decision in the first place
8 > >> & save users an extra step or steps, if there are several such
9 > >> files ?
10 > > Read the man page and the comments in the config file.
11 >
12 > Which man & which config file ?
13 > I don't see anything useful for 'portage' or for 'etc-update'.
14 >
15 > My question remains (smile).
16
17 Sorry, I misunderstood your question. etc-update can be set to
18 automatically merge trivial changes, but you want this done by portage.
19
20 You could use a script like this instead of running emerge directly
21
22 !#/bin/sh
23 /usr/bin/emerge $*
24 etc-update
25
26 You could even alias that script to emerge, then you wouldn't even have
27 to remember the change.
28
29
30 --
31 Neil Bothwick
32
33 - We are but packets in the internet of Life-