summaryrefslogtreecommitdiffstats
path: root/root/posodobi.sh
blob: cd823c3e71233acbf66ad6ccc15e0ed2ca1f6110 (plain) (blame)
1
2
3
4
5
6
7
8
#!/bin/bash
set -xe
f=
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 @world
emerge @preserved-rebuild
emerge --depclean