Use consistent and less error-prone find rm's
This commit is contained in:
2
debian/pvc-client-cli.postinst
vendored
2
debian/pvc-client-cli.postinst
vendored
@ -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
|
||||
|
Reference in New Issue
Block a user