diff options
author | Patrick Simianer <p@simianer.de> | 2016-04-16 16:34:33 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2016-04-16 16:34:33 +0200 |
commit | 95b3e4bb744932ce4eac14bb350cc0455d15848a (patch) | |
tree | c96093d9667c87264a8820d876041fe96b068f57 /upgrade-gentoo | |
parent | fca926851e1d56eeb0044727fe976252d646f48d (diff) |
mv
Diffstat (limited to 'upgrade-gentoo')
-rwxr-xr-x | upgrade-gentoo | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/upgrade-gentoo b/upgrade-gentoo new file mode 100755 index 0000000..af56971 --- /dev/null +++ b/upgrade-gentoo @@ -0,0 +1,25 @@ +#!/bin/zsh + +cd /usr +rsync -avv portage/ portage_/ +umount portage +rm portage.squashfs +mv portage_ portage +perl-cleaner --reallyall +python-updater +emaint --check all +emaint --fix all +emerge --sync +emerge -avuDN --with-bdeps y --keep-going world +echo "-------------------------" +read p\?"press enter to continue... " +etc-update +emerge -av --depclean +revdep-rebuild +eclean -d distfiles +localepurge +mksquashfs portage portage.squashfs -comp xz +rm -rf /usr/portage +mkdir /usr/portage +mount portage + |