summaryrefslogtreecommitdiffstats
path: root/root
diff options
context:
space:
mode:
Diffstat (limited to 'root')
-rwxr-xr-xroot/posodobi.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/root/posodobi.sh b/root/posodobi.sh
new file mode 100755
index 0000000..3d0cdf6
--- /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 @world
+emerge @preserved-rebuild
+emerge --depclean