aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2026-06-25 06:37:57 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2026-06-25 12:45:58 +0000
commit0bdf3184b8ed7f0430dcbc7f84534c2dc12d0982 (patch)
tree4d22a32a08c3ec304fc4069afa493333aa6c2835
parentcb1623729e2741d877fd207d591e12d9e51493b0 (diff)
UPDATING: simplify py311->py312 rename with pkg set -p
Replace the shell loop with a single pkg set -p -n command.
-rw-r--r--UPDATING3
1 files changed, 1 insertions, 2 deletions
diff --git a/UPDATING b/UPDATING
index bbbfa1df98c0..cdc12f3b27ed 100644
--- a/UPDATING
+++ b/UPDATING
@@ -15,8 +15,7 @@ you update your ports collection, before attempting any port upgrades.
add DEFAULT_VERSIONS+= python=3.11 to make.conf
With packages, the following may ease the process:
- # sh
- # for i in $(pkg query -g %n 'py311-*'); do pkg set -yn ${i}:py312-${i#py311-}; done
+ # pkg set -p -n py311-:py312-
# pkg upgrade
If no longer required, Python 3.11 can be removed via