summaryrefslogtreecommitdiff
path: root/portage
diff options
context:
space:
mode:
authorAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2021-05-27 07:46:28 -0400
committerAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2021-05-27 07:46:28 -0400
commit4ca8ff7de700e1ca366ed188a2ed36ce9941817d (patch)
tree0e13efc37d8045107afe58209ced5ebb9d676706 /portage
parentd127365cfac07dff8af75efbed95901d9ff6c0bc (diff)
downloadsysupdate-4ca8ff7de700e1ca366ed188a2ed36ce9941817d.tar.xz
sysupdate-4ca8ff7de700e1ca366ed188a2ed36ce9941817d.zip
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