Ensure postinst and prerm always succeed

This commit is contained in:
Joshua Boniface 2021-06-23 20:35:40 -04:00
parent c54f66efa8
commit dbfa339cfb
2 changed files with 4 additions and 0 deletions

View File

@ -4,3 +4,5 @@
if [ -d /etc/bash_completion.d ]; then
_PVC_COMPLETE=source_bash pvc > /etc/bash_completion.d/pvc
fi
exit 0

View File

@ -4,3 +4,5 @@
if [ -f /etc/bash_completion.d/pvc ]; then
rm -f /etc/bash_completion.d/pvc
fi
exit 0