diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2023-04-28 21:09:44 +0200 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2023-04-28 21:09:44 +0200 |
commit | 7f3c953315e91199a2c7e2030876ada9458ac955 (patch) | |
tree | 67726e04c4aa5cea13def784def043882d858705 /root | |
parent | pm (diff) | |
download | n-7f3c953315e91199a2c7e2030876ada9458ac955.tar n-7f3c953315e91199a2c7e2030876ada9458ac955.tar.gz n-7f3c953315e91199a2c7e2030876ada9458ac955.tar.bz2 n-7f3c953315e91199a2c7e2030876ada9458ac955.tar.lz n-7f3c953315e91199a2c7e2030876ada9458ac955.tar.xz n-7f3c953315e91199a2c7e2030876ada9458ac955.tar.zst n-7f3c953315e91199a2c7e2030876ada9458ac955.zip |
Diffstat (limited to 'root')
-rwxr-xr-x | root/posodobi.sh | 4 |
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 |