Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Tip - Simple Bash scripts to help using emerge...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
schiznik
n00b
n00b


Joined: 01 Apr 2005
Posts: 66
Location: Gloucester, UK

PostPosted: Thu Sep 15, 2005 9:53 am    Post subject: Tip - Simple Bash scripts to help using emerge... Reply with quote

I've been running a mixed x86/~x86 system for some time now, and my /etc/portage/package.keywords was getting full of junk that i'd upgraded then hardly every used (like the latest KDE for example). I deleted most of them entries in there & was left with emerge wanting to downgrade a whole bunch of stuff, I figured rather than recompile the old ones I'd just wait until they were in x86.

So to make this a little easier, I have written a few small scripts to help step through just installing new apps & keeping the old ones installed until everything I wanted was back on the X86 version.

They make use of a few extra apps (eix schedtool dispatch-conf vim) as well as just emerge, but the scripts themselves are no more then the steps i was taking over & over again.

Firstly I have /usr/local/sbin/emerge-only-update to update emerge & eix. This is used in /usr/local/sbin/emerge-dont-downgrade to walk through the steps.

You'll need to move the files & give the correct owner/permissions.

If anyone who actually knows some bash scripting wants to play with them to automate it a little more, feel free ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
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