Created
September 21, 2016 18:58
-
-
Save thebopshoobop/851e40a8eb13a5ee7ef48f01b8fb0cdb to your computer and use it in GitHub Desktop.
.install file to clean up *.pyc files on removal or upgrade of live-usb-install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pre_upgrade() { | |
/usr/bin/find /usr/share/live-usb-install -name \*.pyc -delete | |
} | |
post_remove() { | |
/usr/bin/find /usr/share/live-usb-install -name \*.pyc -delete | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment