Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 19031

Summary: Update emerge help
Product: Gentoo Linux Reporter: Martin Mokrejš <mmokrejs>
Component: New packagesAssignee: Nicholas Jones (RETIRED) <carpaski>
Status: RESOLVED INVALID    
Severity: normal CC: vapier
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Martin Mokrejš 2003-04-09 06:13:54 UTC
Hi,
  I think the following line could be added to the output of "emerge --help
config" command:

bash$ find /etc -iname '._cfg????_*' |  while read new; do old=`echo $new | sed
s/\._cfg0000_//`; diff -u -w $old $new; cp -i $new $old; done
Comment 1 SpanKY gentoo-dev 2003-04-09 11:45:04 UTC
etc-update does that kind of fancy stuff for you ...

the added shell stuff will just confuse many people imo ...
not to mention someone randomly testing it out might overwrite files they dont want updated ;)
Comment 2 Martin Mokrejš 2003-04-09 19:47:25 UTC
Hmm, actually I've always missed the last sentence in the "emerge --help config" output mentioning briefly etc-update. Thank for noting that, just decide yourself if for blind people wouldn't it be better to mention etc-update in the output twice... ;)
Comment 3 Nicholas Jones (RETIRED) gentoo-dev 2003-04-28 04:17:25 UTC
As noted in comments... It's already noted.