diff options
| author | Baptiste Daroussin <bapt@FreeBSD.org> | 2026-06-25 06:37:57 +0000 |
|---|---|---|
| committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2026-06-25 12:45:58 +0000 |
| commit | 0bdf3184b8ed7f0430dcbc7f84534c2dc12d0982 (patch) | |
| tree | 4d22a32a08c3ec304fc4069afa493333aa6c2835 | |
| parent | cb1623729e2741d877fd207d591e12d9e51493b0 (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-- | UPDATING | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 |
