summaryrefslogtreecommitdiffstats
path: root/root
diff options
context:
space:
mode:
Diffstat (limited to 'root')
-rwxr-xr-xroot/posodobi.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/root/posodobi.sh b/root/posodobi.sh
index 3d0cdf6..8d2d4cd 100755
--- a/root/posodobi.sh
+++ b/root/posodobi.sh
@@ -1,8 +1,8 @@
#!/bin/bash
set -e
f=
-grep "--no-sync" <<<"@$" || emaint sync --auto
-grep "--no-ask" <<<"@$" || f=--ask
+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