1 |
Jerome Poggi wrote: |
2 |
> Pour faire simple, il faut utiliser etc-update avec une config du type : |
3 |
> /etc/dispatch-conf.conf |
4 |
> # Directory to archive replaced configs |
5 |
> archive-dir=/etc/config-archive |
6 |
> # Use rcs for storing files in the archive directory? |
7 |
> # (yes or no) |
8 |
> use-rcs=no |
9 |
> # Diff for display |
10 |
> # %s old file |
11 |
> # %s new file |
12 |
> diff="diff -Nu %s %s | less --no-init --QUIT-AT-EOF" |
13 |
> # Diff for interactive merges. |
14 |
> # %s output file |
15 |
> # %s old file |
16 |
> # %s new file |
17 |
> merge="sdiff --suppress-common-lines --output=%s %s %s" |
18 |
> # Automerge files comprising only CVS interpolations (e.g. Header or Id) |
19 |
> # (yes or no) |
20 |
> replace-cvs=yes |
21 |
> # Automerge files comprising only whitespace and/or comments |
22 |
> # (yes or no) |
23 |
> replace-wscomments=no |
24 |
> # Automerge files that the user hasn't modified |
25 |
> # (yes or no) |
26 |
> replace-unmodified=YES |
27 |
> # Per-session log file of changes made to configuration files |
28 |
> #log-file=/var/log/dispatch-conf.log |
29 |
|
30 |
Comment Gentoo fait-elle pour savoir si une fichier a été modifier ou |
31 |
pas ? Elle fait une comparaison ou il y a une autre méthode !? |
32 |
|
33 |
Merci bcp pour ton aide, je pense que ça peut en aider plus d'un ;-) |
34 |
|
35 |
Anthony |
36 |
|
37 |
-- |
38 |
gentoo-user-fr@g.o mailing list |