blob: 662aac2975702b9e0142544d05ec57c9fc1a9ddf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
#!/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
|