On Tue, 27 Apr 2021 07:29:01 +0200 (CEST) obx2...@oldach.net (Helge Oldach) wrote:
> > This long command hanle files that requires shebang: > > portmaster -BvD -y --no-confirm --delete-build-only `grep -rsp > > "\/python3\.7" /usr/local/ | grep -v '/usr/local/man/' | grep -v > > '/usr/local/lib/python3' | sed -e 's|:.*||' -e 's|Binary file ||' > > -e 's| matches||' | xargs pkg which -oq | sort -u` > > I am afraid this is botching up things. For instance, tinkering with > pkg installed files will break proper removal of packages in the > future because of md5 mismatch. Also please note that you are not > just changing shebang but unrelated documentation files as well which > may be overly excessive. This long command find all files that contain "/python3.7", then find package name that own this file and reinstall it. It does not shange file content. _______________________________________________ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"