pvc/debian/pvc-daemon.preinst

6 lines
189 B
Plaintext
Raw Permalink Normal View History

#!/bin/sh
# Remove any cached CPython directories or files
echo "Cleaning up existing CPython files"
find /usr/share/pvc -type d -name "__pycache__" -exec rm -rf {} \; &>/dev/null || true