summaryrefslogblamecommitdiffstats
path: root/root/posodobi.sh
blob: faa251c55f306a180b4405d9400f56bd8a8a5066 (plain) (tree)
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 --autounmask --autounmask-write @world
emerge @preserved-rebuild
emerge --depclean