diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2023-01-28 18:49:26 +0100 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2023-01-28 18:49:26 +0100 |
commit | 3861362638493adf9329ad296b8547c414188426 (patch) | |
tree | b35a3b1d53c961d4d4ed3810c7fcfb41fa12d903 /root/posodobi.sh | |
parent | unattended upgrade (diff) | |
parent | portage (diff) | |
download | n-3861362638493adf9329ad296b8547c414188426.tar n-3861362638493adf9329ad296b8547c414188426.tar.gz n-3861362638493adf9329ad296b8547c414188426.tar.bz2 n-3861362638493adf9329ad296b8547c414188426.tar.lz n-3861362638493adf9329ad296b8547c414188426.tar.xz n-3861362638493adf9329ad296b8547c414188426.tar.zst n-3861362638493adf9329ad296b8547c414188426.zip |
Diffstat (limited to '')
-rwxr-xr-x | root/posodobi.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/root/posodobi.sh b/root/posodobi.sh new file mode 100755 index 0000000..d215688 --- /dev/null +++ b/root/posodobi.sh @@ -0,0 +1,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 --with-bdeps=y @world +emerge @preserved-rebuild +emerge --depclean |