diff options
Diffstat (limited to 'sys-apps/personal-utils/files')
-rwxr-xr-x | sys-apps/personal-utils/files/emergefix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys-apps/personal-utils/files/emergefix b/sys-apps/personal-utils/files/emergefix index bcec51d..a60e94e 100755 --- a/sys-apps/personal-utils/files/emergefix +++ b/sys-apps/personal-utils/files/emergefix @@ -14,6 +14,11 @@ run() { ################################################################################# +if [ "$(equery -q l -I -o sys-apps/portage)" != "$(equery -q l sys-apps/portage)" ]; then + step "Update portage" + run emerge -1 sys-apps/portage +fi + step "Update packages" run emerge -auDU --with-bdeps=y --keep-going @world "$@" |