123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- #! /bin/bash
- clear
- echo "before running this script you might want to run something like:"
- echo "sudo emerge -qv --sync && sudo layman -S && sudo eix-update"
- echo "mergence does not include this by default, as multiple syncs per day is generally bad manners."
- sleep 1
- #update
- #sudo emerge -DuvaN world
- echo "###########################################################################" && echo "now doing..."
- echo "sudo emerge -DuvaN --complete-graph --keep-going --with-bdeps=y --backtrack=25 world"
- sudo emerge -DuvaN --complete-graph --keep-going --with-bdeps=y --backtrack=25 world
- #depclean
- #sudo emerge -cav world
- #check n fix dependancies
- echo "###########################################################################" && echo "now doing..."
- echo "sudo revdep-rebuild -v -- --ask --keep-going"
- sudo revdep-rebuild -v -- --ask --keep-going
- #some other clean up thing to keep it tidyish, but still have some redundancy backup just incase.
- echo "###########################################################################" && echo "now doing..."
- echo "sudo eclean -d distfiles
- sudo eclean -d packages"
- sudo eclean -d distfiles
- sudo eclean -d packages
- # config updaters
- echo "###########################################################################" && echo "now doing..."
- echo "sudo etc-update -p"
- #etc-update with -p merges trivial, n quits other changes
- sudo etc-update -p
- #OR try...
- #dispatch-conf has savvierness than etc-update for rollback
- #uncomment if u wanna get things done properly, interactively. commented out by default for smoothness.
- #sudo dispatch-conf
- #just a little note of curiosity,#though not quite same as the config updaters, still interesting,#check out http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3&chap=4
- #quickpkg
- #seems rather plausibly handy. like for making live cds n that. ken?
- #may want to reposition this one
- #ooh, you forgot about this one didnt you. emaint, nice.
- echo "###########################################################################" && echo "now doing..."
- echo "sudo emaint all"
- sudo emaint all
- #maywant to reposition this one
- #it does clever haskell things that emerge can miss
- echo "###########################################################################" && echo "now doing..."
- echo "sudo haskell-updater"
- sudo haskell-updater
- #news
- #pay attention, stuff is going on with your system... maybe.
- echo "###########################################################################" && echo "now doing..."
- echo "eselect news read new"
- eselect news read new
- echo "ok, so you've read the news."
- sleep 1
- echo "now go run..."
- sleep 1
- echo "
- etc-update or dispatch-conf like you were told
- "
|