summaryrefslogtreecommitdiff
path: root/sys-apps/personal-utils/files/emergefix
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/personal-utils/files/emergefix')
-rwxr-xr-xsys-apps/personal-utils/files/emergefix2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-apps/personal-utils/files/emergefix b/sys-apps/personal-utils/files/emergefix
index a60e94e..a131fa1 100755
--- a/sys-apps/personal-utils/files/emergefix
+++ b/sys-apps/personal-utils/files/emergefix
@@ -14,7 +14,7 @@ run() {
#################################################################################
-if [ "$(equery -q l -I -o sys-apps/portage)" != "$(equery -q l sys-apps/portage)" ]; then
+if [ "$(equery -q l -I -p sys-apps/portage | grep -vE sys-apps/portage-9999 | sort -Vr | head -1)" != "$(equery -q l sys-apps/portage)" ]; then
step "Update portage"
run emerge -1 sys-apps/portage
fi