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