Andreas Beckmann <a...@debian.org> writes: > during a test with piuparts I noticed your package modifies files it > ships in /usr. This is so wrong, I'm not even bothered to look > up the part of policy this violates ;-P
>From python3-pytest.postinst: case "$1" in configure|abort-upgrade|abort-remove|abort-deconfigure) # Just in case, recreate all scripts for version in `py3versions -vi`; do if [ $version ]; then cp /usr/bin/py.test-3 /usr/bin/py.test-$version sed -i "s,#! */usr/bin/python3,#!/usr/bin/python$version," "/usr/bin/py.test-$version" fi done ;; This should be done at build time in debian/rules, not at install time. -- Brian May <b...@debian.org> _______________________________________________ Python-modules-team mailing list Python-modules-team@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team