lb-config/hooks/normal/0170-remove-python-py.hook....

10 lines
164 B
Plaintext
Raw Normal View History

2020-06-16 04:11:22 +00:00
#!/bin/sh
set -e
# Remove Python *.py files.
#
# This removes byte-compiled Python modules to save some space.
find /usr -name "*.pyc" -print0 | xargs -0r rm -f