blob: 662aac2975702b9e0142544d05ec57c9fc1a9ddf (
plain) (
tree)
|
|
#!/bin/bash
set -xe
f=
a=
grep "no-sync" <<<"$@" || /usr/sbin/emaint sync --auto
grep "no-ask" <<<"$@" || f=--ask
[ `hostname` = varovalka ] && a=--exclude=media-libs/mesa
emerge --tree --verbose --update $f $a --newuse --changed-use --backtrack 30 --deep --with-bdeps=y --rebuilt-binaries --autounmask --autounmask-write @world
emerge @preserved-rebuild
emerge --depclean
|