View previous topic :: View next topic |
Author |
Message |
Master_Of_Disaster l33t
Joined: 28 Feb 2003 Posts: 610 Location: 15.05072° East, 48.13747° North (aka Mauer), Austria
|
Posted: Sun Jan 28, 2007 7:02 pm Post subject: [TIP] Rebuild all of your {SVN,CVS,GIT,HG} Packages |
|
|
This is from my .zshrc:
Code: | emerge-svn () {
find /var/db/pkg -name INHERITED -and -exec grep -H -E 'cvs|subversion|git|mercurial' {} \; | cut -d '/' -f 5-6 | sed -e 's/^/=/' | xargs emerge -1
} |
This rebuilds every installed package that utilizes cvs|subversion|git|mercurial eclass. _________________ post tenebras lux, post fenestras tux
Registered Linux User Nr. 312509
Adopt an unanswered post today! |
|
Back to top |
|
|
boniek Guru
Joined: 26 Mar 2005 Posts: 373
|
Posted: Sun Feb 04, 2007 8:17 am Post subject: |
|
|
Good stuff.
Same, but for paludis users:
Code: | --dl-reinstall-scm When to reinstall scm packages
never Never (default)
always Always
daily If they are over a day old
weekly If they are over a week old
|
_________________ [HOWTO]New freetype subpixel font rendering for lcd monitors |
|
Back to top |
|
|
funklord Tux's lil' helper
Joined: 29 May 2004 Posts: 78
|
Posted: Sat Feb 10, 2007 2:37 am Post subject: |
|
|
I prefer to run it this way:
Code: |
emerge -va `find /var/db/pkg -name INHERITED -and -exec grep -H -E 'cvs|subversion|git|mercurial' {} \; | cut -d '/' -f 5-6 | sed -e 's/^/=/'`
|
... but, thanks for the tip! I was looking for something just like this and happened to run across it by accident. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|