diff options
author | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2021-05-27 07:46:28 -0400 |
---|---|---|
committer | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2021-05-27 07:46:28 -0400 |
commit | 4ca8ff7de700e1ca366ed188a2ed36ce9941817d (patch) | |
tree | 0e13efc37d8045107afe58209ced5ebb9d676706 /portage | |
parent | d127365cfac07dff8af75efbed95901d9ff6c0bc (diff) | |
download | sysupdate-master.tar.xz sysupdate-master.zip |
Diffstat (limited to 'portage')
-rwxr-xr-x | portage | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -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 |