Use consistent and less error-prone find rm's

This commit is contained in:
2024-01-23 10:31:30 -05:00
parent b994e1a26c
commit 9546d5635e
6 changed files with 7 additions and 7 deletions

View File

@ -6,6 +6,6 @@ if [ -d /etc/bash_completion.d ]; then
fi
# Remove pycaches
find /usr/lib/python3/dist-packages/pvc -name "__pycache__" -exec rm -r {} \;
find /usr/lib/python3/dist-packages/pvc -type d -name "__pycache__" -exec rm -fr {} + &>/dev/null || true
exit 0