common/hooks: add some hooks moved from xbps-src (not yet used).
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
# 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
|
||||
}
|
||||
Reference in New Issue
Block a user