summaryrefslogtreecommitdiff
path: root/sys-apps/personal-utils/files/emergefix
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2020-09-07 20:01:40 +0200
committerKarel Kočí <cynerd@email.cz>2020-09-07 20:01:40 +0200
commit62648a9e6ded470d447c540de8a977b3a6b388f5 (patch)
treef9c4072f6ef99c3d91207fde9629f931a3808539 /sys-apps/personal-utils/files/emergefix
parent09ddb12ebe5ef7e962f267202515400e2a5f6f75 (diff)
downloadgentoo-personal-overlay-62648a9e6ded470d447c540de8a977b3a6b388f5.tar.gz
gentoo-personal-overlay-62648a9e6ded470d447c540de8a977b3a6b388f5.tar.bz2
gentoo-personal-overlay-62648a9e6ded470d447c540de8a977b3a6b388f5.zip
sys-apps/personal-utils: try to fix emerge version check
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