summaryrefslogtreecommitdiff
path: root/portage
diff options
context:
space:
mode:
Diffstat (limited to 'portage')
-rwxr-xr-xportage20
1 files changed, 10 insertions, 10 deletions
diff --git a/portage b/portage
index 5464937..7b83081 100755
--- a/portage
+++ b/portage
@@ -27,25 +27,25 @@ if [ "$1" != -p ]; then
if [ -n "$stashed" ]; then
cmd git stash pop
fi
- cmd sudo emerge --sync
+ cmd doas emerge --sync
for f in /etc/portage/repo.postsync.d/*; do
if [ -x "$f" ]; then
cmd "$f" gentoo "" /usr/portage
fi
done
cmd mv /var/cache/eix/portage.eix /var/cache/eix/previous.eix
- cmd sudo eix-update
- cmd sudo eix-diff
+ cmd doas eix-update
+ cmd doas eix-diff
fi
if [ "$(eselect news count)" != 0 ]; then
- cmd sudo eselect news read
+ cmd doas eselect news read
printf 'Press enter to continue...\n'
read REPLY
fi
-cmd sudo emerge -uD --changed-use @world
-cmd sudo smart-live-rebuild -- --usepkg=n
+cmd doas emerge -uD --changed-use @world
+cmd doas smart-live-rebuild -- --usepkg=n
# needs --usepkg-exclude
-#cmd sudo emerge @preserved-rebuild
-cmd sudo dispatch-conf
-cmd sudo emerge --depclean --deep --verbose=n
-cmd sudo revdep-rebuild --ignore --verbose -- --usepkg=n
+#cmd doas emerge @preserved-rebuild
+cmd doas dispatch-conf
+cmd doas emerge --depclean --deep --verbose=n
+cmd doas revdep-rebuild --ignore --verbose -- --usepkg=n