vp-build/common/hooks/post-install/02-remove-python-bytecode-files.sh

7 lines
178 B
Bash

# This hook removes python bytecode files (.py[co]).
hook() {
msg_normal "$pkgver: removing python bytecode archives...\n"
find ${PKGDESTDIR} -type f -name *.py[co] -delete
}