From 4ca8ff7de700e1ca366ed188a2ed36ce9941817d Mon Sep 17 00:00:00 2001 From: "Alex Xu (Hello71)" Date: Thu, 27 May 2021 07:46:28 -0400 Subject: update --- portage | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'portage') 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 -- cgit v1.2.3-70-g09d2