source: live-build/trunk/fuentes/share/hooks/007-remove-python-py.chroot @ 900

Last change on this file since 900 was 900, checked in by kbut, 4 years ago

add original source

  • Property svn:executable set to *
File size: 164 bytes
Line 
1#!/bin/sh
2
3set -e
4
5# Remove Python *.py files.
6#
7# This removes byte-compiled Python modules to save some space.
8
9find /usr -name "*.pyc" -print0 | xargs -0r rm -f
Note: See TracBrowser for help on using the repository browser.