summaryrefslogtreecommitdiffstats
path: root/root/posodobi.sh
blob: 3d0cdf6303b0f06d4f37950edc6385d238a5ce0d (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