git: ef7c83416ca1 - main - ./UPDATING: optimize pkg info call

From: Ruslan Makhmatkhanov <rm_at_FreeBSD.org>
Date: Wed, 29 May 2024 20:11:06 UTC
The branch main has been updated by rm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ef7c83416ca1357080fb5c89f05b8f9d5033aa88

commit ef7c83416ca1357080fb5c89f05b8f9d5033aa88
Author:     Ruslan Makhmatkhanov <rm@FreeBSD.org>
AuthorDate: 2024-05-29 20:09:48 +0000
Commit:     Ruslan Makhmatkhanov <rm@FreeBSD.org>
CommitDate: 2024-05-29 20:10:59 +0000

    ./UPDATING: optimize pkg info call
    
    PR:             275494
    Reported by:    vvd
---
 UPDATING | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/UPDATING b/UPDATING
index fb8804a9bc68..43b76fae9bda 100644
--- a/UPDATING
+++ b/UPDATING
@@ -38,7 +38,7 @@ you update your ports collection, before attempting any port upgrades.
   For portmaster users:
   # sh
   # portmaster -o lang/python311 python39
-  # REINSTALL="$(pkg info -o "*py39*" | awk '{printf "%s ", $2}')"
+  # REINSTALL="$(pkg info -oq '*py39*')"
   # pkg delete -f "*py39*"
   # portmaster $REINSTALL
   # REBUILD=$(pkg query -g "%n:%dn" '*' | grep py3 | grep -v py311 | cut -d : -f 1 | sort -u)