rio: update to 0.2.0
[void-pkg.git] / common / hooks / post-install / 02-remove-python-bytecode-files.sh
blob3fa8bdc3d462241dcc2c6c4cd3e413c2b7241137
1 # This hook removes python bytecode files (.py[co]).
3 hook() {
4 if [ -d "${PKGDESTDIR}" ]; then
5 find ${PKGDESTDIR} -type f -name '*.py[co]' -delete
6 fi