summaryrefslogtreecommitdiff
path: root/sys-apps/personal-utils/files
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/personal-utils/files')
-rwxr-xr-xsys-apps/personal-utils/files/emergefix5
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 "$@"