pvc/debian/pvc-daemon-health.preinst

6 lines
200 B
Plaintext
Raw Normal View History

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