diff options
author | Patrick Simianer <p@simianer.de> | 2014-10-09 20:44:15 +0100 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2014-10-09 20:44:15 +0100 |
commit | ca41eddfdc979955105cce572e659941544d6f6d (patch) | |
tree | bf446902e8323e58c6fc14dce808b9719da7d3f6 /upgrade_gentoo | |
parent | 0aae427eb3838297f6e204c2961739ef834762cf (diff) |
alles neu macht der mai
Diffstat (limited to 'upgrade_gentoo')
-rwxr-xr-x | upgrade_gentoo | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/upgrade_gentoo b/upgrade_gentoo new file mode 100755 index 0000000..46bc154 --- /dev/null +++ b/upgrade_gentoo @@ -0,0 +1,23 @@ +#!/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 +mount portage + |