1 |
Alan McKinnon wrote: |
2 |
> On Monday 07 May 2007, Benno Schulenberg wrote: |
3 |
> > Better copy it, and replace the body of the daily one with |
4 |
> > '## Placeholder, do not delete.' |
5 |
> > |
6 |
> > Otherwise a revision of the slocate ebuild will put the script |
7 |
> > back into the daily dir without saying anything. Quite |
8 |
> > annoying. The placeholder will cause an etc-update message. |
9 |
> |
10 |
> Or CONFIG_PROTECT /etc/cron.* to protect the whole lot from the |
11 |
> same thing with any other ebuild as well |
12 |
|
13 |
/etc is in CONFIG_PROTECT by default. The point is, when a file |
14 |
doesn't exist yet, Portage will simply install it. The config |
15 |
protection mechanism works only for existing files. There's no way |
16 |
to tell Portage that I want to be alerted of _new config files too. |
17 |
|
18 |
Benno |
19 |
-- |
20 |
gentoo-user@g.o mailing list |