summaryrefslogtreecommitdiffstats
path: root/root/posodobi.sh
blob: 0ef1a2243d13578c0e5d021f21295329af050f60 (plain) (blame)
1
2
3
4
5
6
7
8
#!/bin/bash
set -xe
f=
grep "no-sync" <<<"$@" || emaint sync --auto
grep "no-ask" <<<"$@" || f=--ask
emerge --verbose --update $f --newuse --changed-use --backtrack 30 --deep --with-bdeps=y @world
emerge @preserved-rebuild
emerge --depclean