Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
.install file to clean up *.pyc files on removal or upgrade of live-usb-install
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
You can’t perform that action at this time.