autoscripts/prerm-{py3,pypy}clean: Use sed instead of perl
Using perl
in maintscripts is problematic because Perl may no longer
be installed in the future by the time the user purges the Python
packages that use dh-python
.
The specific use of perl
in these prerm maintscripts can be easily
replaced with an equivalent sed
invocation.
Merge request reports
Activity
Thanks for merging this. Actually I was about to send an update MR that relies on xargs: faster (
rm
calls gets batched) and "looks safer" because xargs takes care of properly handing the paths. However the last point should moot because dpkg-provided paths are going to be quite safe (plenty of other scripts would fail on them if they weren't).
Please register or sign in to reply