1 |
060626 Sean wrote: |
2 |
> What is the best way to handle the files |
3 |
> that etc-update states needs to be updated? |
4 |
|
5 |
You provoked a bit of a debate (smile), but in case it's still not clear, |
6 |
I've long used Etc-update with Gvim as defined in /etc/etc-update.conf : |
7 |
|
8 |
# pager for use with diff commands (see NOTE_2) |
9 |
# pager="less" |
10 |
pager="" |
11 |
|
12 |
# diff_command="vim -d %file1 %file2" |
13 |
# diff_command="diff -uN %file1 %file2" |
14 |
# using_editor=0 |
15 |
diff_command="gvim -d %file1 %file2" |
16 |
using_editor=1 |
17 |
|
18 |
# vim-users: don't use vimdiff for merging (see NOTE_1) |
19 |
merge_command="sdiff -s -o %merged %orig %new" |
20 |
|
21 |
Even if you're not normally a Vim user, this shows the diffs very clearly |
22 |
& allows you to copy your personal changes from old to new versions. |
23 |
|
24 |
Generally, always go through all the etc-updates & keep back-ups of /etc . |
25 |
|
26 |
-- |
27 |
========================,,============================================ |
28 |
SUPPORT ___________//___, Philip Webb : purslow@××××××××××××××.ca |
29 |
ELECTRIC /] [] [] [] [] []| Centre for Urban & Community Studies |
30 |
TRANSIT `-O----------O---' University of Toronto |
31 |
-- |
32 |
gentoo-user@g.o mailing list |