mirror of
https://github.com/xHyroM/void-packages.git
synced 2024-11-23 06:51:04 +01:00
8 lines
168 B
Bash
8 lines
168 B
Bash
|
# This hook removes python bytecode files (.py[co]).
|
||
|
|
||
|
hook() {
|
||
|
if [ -d "${PKGDESTDIR}" ]; then
|
||
|
find ${PKGDESTDIR} -type f -name '*.py[co]' -delete
|
||
|
fi
|
||
|
}
|