void-packages/common/hooks/post-install/02-remove-python-bytecode-f...

6 lines
118 B
Bash

# This hook removes python bytecode files (.py[co]).
hook() {
find ${PKGDESTDIR} -type f -name '*.py[co]' -delete
}