Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49343 - etc-update option -3 does not work properly also no backups made replaced files.
Summary: etc-update option -3 does not work properly also no backups made replaced files.
Status: RESOLVED DUPLICATE of bug 48237
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Karl Trygve Kalleberg (RETIRED)
URL: http://www.lgw.co.nz/~moo/gentoostuff...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-28 19:36 UTC by Steve Foris
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Foris 2004-04-28 19:36:35 UTC
When using option -3 in etc-update if you choose "n" to not overwrite a file it just keeps returning to the question.

Also I think backups of .conf files should be made, so i've modified the etc-update script see the URL above, a new feature -7 has also been added to delete all updates.

Reproducible: Always
Steps to Reproduce:
1.run etc-update
2.choose option -3
3.when asked to replace a file choose "n"

Actual Results:  
Replacing /etc/man.conf with /etc/._cfg1000_man.conf
mv: overwrite `/etc/man.conf'? n
Replacing /etc/man.conf with /etc/._cfg1000_man.conf
mv: overwrite `/etc/man.conf'? n

Expected Results:  
See URL with fixes, it should have gone onto the next file to be replaced.
Comment 1 SpanKY gentoo-dev 2004-04-28 19:40:32 UTC
-3 not working -> Bug 48218
back up of config files -> dispatch.conf

*** This bug has been marked as a duplicate of 48218 ***
Comment 2 Steve Foris 2004-07-19 19:31:13 UTC
Assigning bug to karlt
Comment 3 Steve Foris 2004-07-19 19:32:30 UTC
Forgot to assign this to you months back, something popped into my mailbox to remind me of this :-)

See 
http://www.lgw.co.nz/~moo/gentoostuff/etc-update

For fix.
Comment 4 Brian Harring (RETIRED) gentoo-dev 2004-08-26 19:14:26 UTC
marking it as a dupe again...

*** This bug has been marked as a duplicate of 48237 ***