summaryrefslogtreecommitdiff
path: root/share/hooks/005-remove-python-py.chroot
blob: a8ff40ae5f7cfc9efc87cf24bb411c96a39bc9db (plain)
1
2
3
4
5
6
7
#!/bin/sh

# Remove Python *.py files.
#
# This removes byte-compiled Python modules to save some space.

find /usr -name "*.pyc" -print0 | xargs -0r rm -f