summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xroot/posodobi.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/root/posodobi.sh b/root/posodobi.sh
index faa251c..662aac2 100755
--- a/root/posodobi.sh
+++ b/root/posodobi.sh
@@ -1,8 +1,10 @@
#!/bin/bash
set -xe
f=
+a=
grep "no-sync" <<<"$@" || /usr/sbin/emaint sync --auto
grep "no-ask" <<<"$@" || f=--ask
-emerge --verbose --update $f --newuse --changed-use --backtrack 30 --deep --with-bdeps=y --rebuilt-binaries --autounmask --autounmask-write @world
+[ `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