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

10 lines
164 B
Bash
Executable File

#!/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