From 7f3c953315e91199a2c7e2030876ada9458ac955 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Fri, 28 Apr 2023 21:09:44 +0200 Subject: posodobi.sh --- root/posodobi.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3