From 62648a9e6ded470d447c540de8a977b3a6b388f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 7 Sep 2020 20:01:40 +0200 Subject: sys-apps/personal-utils: try to fix emerge version check --- sys-apps/personal-utils/files/emergefix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys-apps/personal-utils/files/emergefix') 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 -- cgit v1.2.3