repo.or.cz
/
void-pkg.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
rio: update to 0.2.0
[void-pkg.git]
/
common
/
hooks
/
post-install
/
02-remove-python-bytecode-files.sh
blob
3fa8bdc3d462241dcc2c6c4cd3e413c2b7241137
1
# This hook removes python bytecode files (.py[co]).
2
3
hook
() {
4
if
[
-d
"
${PKGDESTDIR}
"
];
then
5
find
${PKGDESTDIR}
-type
f
-name
'*.py[co]'
-delete
6
fi
7
}