From ca41eddfdc979955105cce572e659941544d6f6d Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Thu, 9 Oct 2014 20:44:15 +0100 Subject: alles neu macht der mai --- upgrade_gentoo | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 upgrade_gentoo (limited to 'upgrade_gentoo') 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 + -- cgit v1.2.3