pvc/debian/pvc-daemon-health.preinst

7 lines
295 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
2023-11-29 16:22:20 -05:00
find /usr/share/pvc/plugins -type d -name "__pycache__" -exec rm -rf {} \; &>/dev/null || true