1 |
All done, also a newer version with a feature to delete all updates has |
2 |
been added. |
3 |
|
4 |
if your curious check it out at: |
5 |
http://www.lgw.co.nz/~moo/gentoostuff/etc-update |
6 |
|
7 |
Steve |
8 |
|
9 |
|
10 |
On Fri, 2004-04-23 at 12:34, Karl Trygve Kalleberg wrote: |
11 |
> Could you please add a bug about this, and assing it to |
12 |
> tools-portage@g.o? |
13 |
> |
14 |
> Kind regards, |
15 |
> |
16 |
> Karl T |
17 |
> |
18 |
> On Wed, Apr 21, 2004 at 12:44:38PM +1200, oom wrote: |
19 |
> > Greets to all, |
20 |
> > |
21 |
> > Whilst accidentally clobbering a few config files the other day I |
22 |
> > noticed a few bugs in the etc-update, namely: |
23 |
> > -- |
24 |
> > Please select a file to edit by entering the corresponding number. |
25 |
> > (-1 to exit) (-3 to auto merge all remaining files) |
26 |
> > (-5 to auto-merge AND not use 'mv -i'): -3 |
27 |
> > |
28 |
> > Replacing /etc/man.conf with /etc/._cfg1000_man.conf |
29 |
> > mv: overwrite `/etc/man.conf'? n |
30 |
> > Replacing /etc/man.conf with /etc/._cfg1000_man.conf |
31 |
> > mv: overwrite `/etc/man.conf'? n |
32 |
> > -- |
33 |
> > plus i think there should be a backup option available before clobbering |
34 |
> > .conf files :-) |
35 |
> > |
36 |
> > So, see attached diff, or for those to lazy to patch get it at: |
37 |
> > http://www.lgw.co.nz/~moo/gentoostuff/etc-update |
38 |
> > |
39 |
> > Basicly option -3 works properly now, and you can add: |
40 |
> > backup="yes" to /etc/etc-update.conf |
41 |
> > |
42 |
> > cu, |
43 |
> > Steve. |
44 |
> |
45 |
> > --- etc-update 2004-04-21 12:37:50.000000000 +1200 |
46 |
> > +++ etc-update.sh 2004-04-20 19:05:41.000000000 +1200 |
47 |
> > @@ -256,6 +256,7 @@ |
48 |
> > case ${my_input} in |
49 |
> > 1) echo "Replacing ${ofile} with ${file}" |
50 |
> > mv ${mv_opts} ${file} ${ofile} |
51 |
> > + my_input=-1 |
52 |
> > continue |
53 |
> > ;; |
54 |
> > 2) echo "Deleting ${file}" |
55 |
> > |
56 |
> |
57 |
> > -- |
58 |
> > gentoo-dev@g.o mailing list |
59 |
|
60 |
|
61 |
-- |
62 |
gentoo-dev@g.o mailing list |