#!/bin/zsh source $(dirname $0)/func.zsh check_root unset LD_LIBRARY_PATH # for glibc env-update emaint --check all emaint --fix all emerge --sync if [[ -e $(which layman) ]]; then layman -s SYNC ALL fi emerge --oneshot portage emerge --newuse -avuDN --with-bdeps y --keep-going world echo "-------------------------" read p\?"press enter to continue... " etc-update emerge -av --depclean perl-cleaner --reallyall revdep-rebuild emerge @preserved-rebuild eclean -d distfiles