Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
small automate manual update trick (-;
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
Cassius
n00b
n00b


Joined: 03 Aug 2003
Posts: 6

PostPosted: Tue Oct 14, 2003 11:16 pm    Post subject: small automate manual update trick (-; Reply with quote

Here is a simple trick for people who are making the "emerge -uDP" mistake like me too much, or just want to automate there update process to one command.

just put this line in your /etc/profile (or just type it to try it out)
Code:
alias update="emerge sync && emerge -uDp world && echo 'press enter to emerge or Ctrl-c to abort' && read && emerge -uD system && emerge -uD world && etc-update && echo 'Update successfully completed'"


and type "update" as root (don't forget doing: source /etc/profile )
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