2018-06-17 14:55:13 -04:00
|
|
|
#!/bin/sh
|
|
|
|
|
2021-06-23 04:08:02 -04:00
|
|
|
# Generate the bash completion configuration
|
|
|
|
if [ -d /etc/bash_completion.d ]; then
|
2024-01-23 10:31:30 -05:00
|
|
|
echo "Installing BASH completion configuration"
|
2021-06-23 04:08:02 -04:00
|
|
|
_PVC_COMPLETE=source_bash pvc > /etc/bash_completion.d/pvc
|
|
|
|
fi
|
2021-06-23 20:35:40 -04:00
|
|
|
|
2024-01-23 10:31:30 -05:00
|
|
|
# Remove any cached CPython directories or files
|
|
|
|
echo "Cleaning up CPython caches"
|
|
|
|
find /usr/lib/python3/dist-packages/pvc -type d -name "__pycache__" -exec rm -fr {} + &>/dev/null || true
|
2024-01-23 10:22:50 -05:00
|
|
|
|
2021-06-23 20:35:40 -04:00
|
|
|
exit 0
|