From b994e1a26c469a493cd74e2fe796f6de7543f1ca Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Tue, 23 Jan 2024 10:22:50 -0500 Subject: [PATCH] Add cleanup of pycaches to CLI install --- debian/pvc-client-cli.postinst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debian/pvc-client-cli.postinst b/debian/pvc-client-cli.postinst index 511db821..d61943a8 100644 --- a/debian/pvc-client-cli.postinst +++ b/debian/pvc-client-cli.postinst @@ -5,4 +5,7 @@ if [ -d /etc/bash_completion.d ]; then _PVC_COMPLETE=source_bash pvc > /etc/bash_completion.d/pvc fi +# Remove pycaches +find /usr/lib/python3/dist-packages/pvc -name "__pycache__" -exec rm -r {} \; + exit 0